This topic has not yet been rated - Rate this topic

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.