This documentation is archived and is not being maintained.

TrackingRecord Class

The abstract base class from which ActivityTrackingRecord, UserTrackingRecord, and WorkflowTrackingRecord are derived.

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

public abstract class TrackingRecord

The TrackingRecord type exposes the following members.

Protected methodTrackingRecordWhen implemented in a derived class, initializes a new instance of the TrackingRecord class.

Public propertyAnnotationsWhen overridden in a derived class, gets the collection of annotations associated with the track point.
Public propertyEventArgsWhen 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 propertyEventDateTimeWhen overridden in a derived class, gets or sets the time and date of the tracking event associated with the tracking record.
Public propertyEventOrderWhen overridden in a derived class, gets or sets a value that indicates the order of the tracking event associated with the tracking record relative to the other tracking events emitted by the workflow instance.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

During its execution, a workflow instance emits three kinds of tracking events to the runtime tracking infrastructure: activity status events, user events, and workflow status events. The runtime tracking infrastructure tries to match these events with track points in a TrackingProfile. Whenever the runtime tracking infrastructure matches a track point, it sends a tracking record that contains data associated with both the track point and the tracking event to the tracking service. There are three kinds of tracking record that the runtime tracking infrastructure can send: an ActivityTrackingRecord, a UserTrackingRecord, and a WorkflowTrackingRecord. Each kind of tracking record derives from the TrackingRecord class and corresponds to one of the three kinds of track point that the runtime tracking infrastructure can match: an ActivityTrackPoint, a UserTrackPoint, or a WorkflowTrackPoint.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.