TrackingRecord.EventArgs Property

Definition

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.

C#
public abstract EventArgs EventArgs { get; set; }

Property Value

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

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1