Class WorkflowEventContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hsl.Xrm.Sdk.Workflow
Assembly: Hsl.Xrm.Sdk.Workflow.dll
Syntax
public class WorkflowEventContext : EventContext, IWorkflowEventContext, IEventContext
Constructors
WorkflowEventContext()
Declaration
public WorkflowEventContext()
Properties
ActivityContext
Gets the workflows activity context.
Declaration
public CodeActivityContext ActivityContext { get; }
Property Value
Type | Description |
---|---|
System.Activities.CodeActivityContext |
Logger
Declaration
public IHslLogger Logger { get; }
Property Value
Type | Description |
---|---|
Hsl.Logging.IHslLogger |
WorkflowContext
Gets the execution context for the plugin.
Declaration
public IWorkflowContext WorkflowContext { get; }
Property Value
Type | Description |
---|---|
Microsoft.Xrm.Sdk.Workflow.IWorkflowContext |
Methods
GetExecutionContext()
Declaration
protected override IExecutionContext GetExecutionContext()
Returns
Type | Description |
---|---|
Microsoft.Xrm.Sdk.IExecutionContext |
Overrides
GetOrganizationServiceFactory()
Declaration
protected override IOrganizationServiceFactory GetOrganizationServiceFactory()
Returns
Type | Description |
---|---|
Microsoft.Xrm.Sdk.IOrganizationServiceFactory |
Overrides
GetParentContext(IExecutionContext)
Declaration
protected override IExecutionContext GetParentContext(IExecutionContext ctx)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Xrm.Sdk.IExecutionContext | ctx |
Returns
Type | Description |
---|---|
Microsoft.Xrm.Sdk.IExecutionContext |
Overrides
GetTracingService()
Declaration
protected override ITracingService GetTracingService()
Returns
Type | Description |
---|---|
Microsoft.Xrm.Sdk.ITracingService |
Overrides
Initialize(String, CodeActivityContext)
Declaration
public void Initialize(string actionTypeName, CodeActivityContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionTypeName | |
System.Activities.CodeActivityContext | context |