TrackingRecord.EventArgs Property

 

When overridden in a derived class, gets or sets the event data, if any, that is associated with the tracking event that caused the tracking record to be sent.

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

public abstract EventArgs EventArgs { get; set; }

Property Value

Type: System.EventArgs

An EventArgs that represents the event data, if any, that is associated with the tracking event that caused the tracking record to be sent.

Certain kinds of tracking events emitted by a workflow instance have event data associated with them. If a tracking event has event data associated with it, the runtime tracking infrastructure puts the event data in EventArgs property of the derived class. For example, when a workflow instance is terminated, the runtime tracking infrastructure sends a WorkflowTrackingRecord with WorkflowTrackingRecord.EventArgs set to a TrackingWorkflowTerminatedEventArgs that contains information about the reason for the termination.

.NET Framework
Available since 3.0
Return to top
Show: