WorkflowTrackingRecord.EventArgs Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an EventArgs that contains additional data associated with certain types of workflow status events.

Namespace:   System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public override EventArgs EventArgs { get; set; }

Property Value

Type: System.EventArgs

Either a TrackingWorkflowSuspendedEventArgs, a TrackingWorkflowTerminatedEventArgs, a TrackingWorkflowExceptionEventArgs, or a null reference (Nothing in Visual Basic).

For most workflow status events, EventArgs is a null reference (Nothing); however, for certain kinds of workflow status events the runtime tracking infrastructure uses EventArgs to return additional data about the workflow status event. The following table lists the TrackingWorkflowEvent values that correspond to these special workflow status events and the type of object returned in EventArgs for each of these workflow status events.

TrackingWorkflowEvent Value

EventArgs Object

Exception

TrackingWorkflowExceptionEventArgs

Suspended

TrackingWorkflowSuspendedEventArgs

Terminated

TrackingWorkflowTerminatedEventArgs

This property is set by the runtime tracking infrastructure.

.NET Framework
Available since 3.0
Return to top
Show: