TrackingRecord 類別

定義

警告:已過時

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

abstractActivityTrackingRecordUserTrackingRecord 是衍生自此 WorkflowTrackingRecord 基底類別。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
繼承
TrackingRecord
衍生
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型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. 執行階段追蹤基礎結構會嘗試比對這些事件和 TrackingProfile 中的追蹤點。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. 執行階段追蹤基礎結構可以傳送三種追蹤記錄:ActivityTrackingRecordUserTrackingRecordWorkflowTrackingRecordThere are three kinds of tracking record that the runtime tracking infrastructure can send: an ActivityTrackingRecord, a UserTrackingRecord, and a WorkflowTrackingRecord. 每一種追蹤記錄都衍生自 TrackingRecord 類別,並對應執行階段追蹤基礎結構可比對的三種追蹤點的其中一種:ActivityTrackPointUserTrackPointWorkflowTrackPointEach 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.

建構函式

TrackingRecord()

在衍生類別中實作時,初始化 TrackingRecord 類別的新執行個體。When implemented in a derived class, initializes a new instance of the TrackingRecord class.

屬性

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.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於