編輯

共用方式為


TrackingRecord Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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

public ref class TrackingRecord abstract
public abstract class TrackingRecord
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class TrackingRecord
type TrackingRecord = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type TrackingRecord = class
Public MustInherit Class TrackingRecord
Inheritance
TrackingRecord
Derived
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

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.

Constructors

TrackingRecord()

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

Properties

Annotations

When overridden in a derived class, gets the collection of annotations associated with the track point.

EventArgs

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.

EventDateTime

When overridden in a derived class, gets or sets the time and date of the tracking event associated with the tracking record.

EventOrder

When 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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to