Modifica

Condividi tramite


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.

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

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