WorkflowTrackPoint 類別

定義

警告

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

為根活動流程執行個體潛在執行路徑上要追蹤的一組工作流程狀態事件定義一個關聯的點。

public ref class WorkflowTrackPoint sealed
public sealed class WorkflowTrackPoint
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowTrackPoint
type WorkflowTrackPoint = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowTrackPoint = class
Public NotInheritable Class WorkflowTrackPoint
繼承
WorkflowTrackPoint
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

每當工作流程執行個體的狀態變更時,工作流程執行個體都會發出以其中一個 TrackingWorkflowEvent 值為基礎的工作流程狀態事件到執行階段追蹤基礎結構。 WorkflowTrackPoint 會定義工作流程執行個體執行過程中發生特定類型工作流程狀態事件的點。 您可以將 WorkflowTrackPoint 加入至 TrackingProfile.WorkflowTrackPoints,以指示執行階段追蹤基礎結構在發生指定的一組工作流程狀態事件時,將 WorkflowTrackingRecord 傳送至追蹤服務。 WorkflowTrackPoint 可能會符合工作流程執行個體中的多個點。

以經過適當設定的 MatchingLocation 來設定 WorkflowTrackingLocation,以指定執行階段追蹤基礎結構用於比對 WorkflowTrackPoint 的工作流程狀態事件的類型。 您可以加入 Annotations,以指定當追蹤點符合時要由執行階段追蹤基礎結構傳送的其他相關資訊。

此類別無法獲得繼承。

建構函式

WorkflowTrackPoint()

初始化 WorkflowTrackPoint 類別的新執行個體。

屬性

Annotations

取得與追蹤點關聯之附註的集合。

MatchingLocation

取得或設定 WorkflowTrackingLocation,指定執行階段追蹤基礎結構要為追蹤點比對的工作流程狀態事件。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於