Table of Contents

Class WorkflowEventContext

Namespace
Hsl.Xrm.Sdk.Workflow
Assembly
Hsl.Xrm.Sdk.Workflow.dll
public class WorkflowEventContext : EventContext, IWorkflowEventContext, IEventContext
Inheritance
WorkflowEventContext
Implements
Inherited Members

Constructors

WorkflowEventContext()

public WorkflowEventContext()

Properties

ActivityContext

Gets the workflows activity context.

public CodeActivityContext ActivityContext { get; }

Property Value

CodeActivityContext

Logger

public IHslLogger Logger { get; }

Property Value

IHslLogger

WorkflowContext

Gets the execution context for the plugin.

public IWorkflowContext WorkflowContext { get; }

Property Value

IWorkflowContext

Methods

GetExecutionContext()

protected override IExecutionContext GetExecutionContext()

Returns

IExecutionContext

GetOrganizationServiceFactory()

protected override IOrganizationServiceFactory GetOrganizationServiceFactory()

Returns

IOrganizationServiceFactory

GetParentContext(IExecutionContext)

protected override IExecutionContext GetParentContext(IExecutionContext ctx)

Parameters

ctx IExecutionContext

Returns

IExecutionContext

GetTracingService()

protected override ITracingService GetTracingService()

Returns

ITracingService

Initialize(string, CodeActivityContext)

public void Initialize(string actionTypeName, CodeActivityContext context)

Parameters

actionTypeName string
context CodeActivityContext