WorkflowTrackingRecord 類別

定義

警告:已過時

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

包含執行階段追蹤基礎結構在符合 WorkflowTrackPoint 時傳送至追蹤服務的資料。Contains the data sent to the tracking service by the runtime tracking infrastructure when it matches a WorkflowTrackPoint. 這也使用於 WorkflowEvents 屬性的傳回清單中。It is also used in the return list of the WorkflowEvents property.

public ref class WorkflowTrackingRecord : System::Workflow::Runtime::Tracking::TrackingRecord
public class WorkflowTrackingRecord : System.Workflow.Runtime.Tracking.TrackingRecord
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class WorkflowTrackingRecord : System.Workflow.Runtime.Tracking.TrackingRecord
type WorkflowTrackingRecord = class
    inherit TrackingRecord
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowTrackingRecord = class
    inherit TrackingRecord
Public Class WorkflowTrackingRecord
Inherits TrackingRecord
繼承
WorkflowTrackingRecord
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。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.

當執行階段追蹤基礎結構符合 WorkflowTrackPoint 中的 TrackingProfile 時,它會透過與追蹤服務關聯的 WorkflowTrackingRecordTrackingChannel 傳送至該追蹤服務。When the runtime tracking infrastructure matches a WorkflowTrackPoint in a TrackingProfile, it sends a WorkflowTrackingRecord to the tracking service over the TrackingChannel associated with that tracking service. 追蹤服務可以在追蹤記錄中的資料上執行所需的任何動作。The tracking service can perform whatever action is necessary on the data in the tracking record.

建構函式

WorkflowTrackingRecord()

初始化 WorkflowTrackingRecord 類別的新執行個體。Initializes a new instance of the WorkflowTrackingRecord class.

WorkflowTrackingRecord(TrackingWorkflowEvent, DateTime, Int32, EventArgs)

使用指定的 WorkflowTrackingRecord 值、TrackingWorkflowEvent、數字和 DateTime 來初始化 EventArgs 類別的新執行個體。Initializes a new instance of the WorkflowTrackingRecord class by using the specified TrackingWorkflowEvent value, DateTime, number, and EventArgs.

屬性

Annotations

取得與符合的 WorkflowTrackPoint 關聯的附註集合。Gets the collection of annotations associated with the WorkflowTrackPoint that was matched.

EventArgs

取得或設定 EventArgs,其中包含與特定類型工作流程狀態事件關聯的其他資料。Gets or sets an EventArgs that contains additional data associated with certain types of workflow status events.

EventDateTime

取得或設定工作流程追蹤事件發生的日期和時間。Gets or sets the date and time that the workflow tracking event occurred.

EventOrder

取得或設定值,該值表示符合 WorkflowTrackPoint 的工作流程狀態事件在工作流程執行個體中的順序。Gets or sets a value that indicates the order in the workflow instance of the workflow status event that matched the WorkflowTrackPoint.

TrackingWorkflowEvent

取得或設定與追蹤記錄關聯之工作流程狀態事件的類型。Gets or sets the type of workflow status event associated with the tracking record.

方法

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)

適用於