Editar

Partilhar via


WorkflowTrackingRecord.EventArgs Property

Definition

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

public:
 virtual property EventArgs ^ EventArgs { EventArgs ^ get(); void set(EventArgs ^ value); };
public override EventArgs EventArgs { get; set; }
member this.EventArgs : EventArgs with get, set
Public Overrides Property EventArgs As EventArgs

Property Value

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

Remarks

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.

Applies to