Show / Hide Table of Contents

    Class WorkflowEventContext

    Inheritance
    System.Object
    EventContext
    WorkflowEventContext
    Implements
    IWorkflowEventContext
    IEventContext
    Inherited Members
    EventContext.ActionTypeName
    EventContext.ExecutionContext
    EventContext.IsExecutingAsynchronously
    EventContext.IsExecutingSynchronously
    EventContext.IsExecutingInSandbox
    EventContext.SystemOrgService
    EventContext.UserOrgService
    EventContext.InitiatingUserOrgService
    EventContext.TracingService
    EventContext.XrmContext
    EventContext.GetOrgService(Nullable<Guid>)
    EventContext.Assert(Boolean, String, Object[])
    EventContext.Throw(String, Exception, Object[])
    EventContext.TraceException(String, Exception, Object[])
    EventContext.Trace(String, Object[])
    EventContext.BuildInnerException(Exception)
    EventContext.CanSendException(Exception)
    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
    EventContext.GetExecutionContext()

    GetOrganizationServiceFactory()

    Declaration
    protected override IOrganizationServiceFactory GetOrganizationServiceFactory()
    Returns
    Type Description
    Microsoft.Xrm.Sdk.IOrganizationServiceFactory
    Overrides
    EventContext.GetOrganizationServiceFactory()

    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
    EventContext.GetParentContext(IExecutionContext)

    GetTracingService()

    Declaration
    protected override ITracingService GetTracingService()
    Returns
    Type Description
    Microsoft.Xrm.Sdk.ITracingService
    Overrides
    EventContext.GetTracingService()

    Initialize(String, CodeActivityContext)

    Declaration
    public void Initialize(string actionTypeName, CodeActivityContext context)
    Parameters
    Type Name Description
    System.String actionTypeName
    System.Activities.CodeActivityContext context

    Implements

    IWorkflowEventContext
    IEventContext
    Back to top Hsl.Xrm.Sdk