Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
property EventArgs^ EventArgs {
	virtual EventArgs^ get() override;
	virtual void set(EventArgs^ value) override;
}

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:
© 2017 Microsoft