WorkflowTrackingRecord.EventArgs Property

 

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)

override EventArgs : EventArgs with 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: