WorkflowTrackingLocation 類別

定義

警告:已過時

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

定義根工作流程執行個體中發生特定工作流程狀態事件的位置,以供追蹤設定檔中的 WorkflowTrackPoint 比對。Defines an interest in specific workflow status events that occur in a root workflow instance; used for matching by a WorkflowTrackPoint in a tracking profile. 此類別無法獲得繼承。This class cannot be inherited.

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

備註

注意

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

每當工作流程執行個體的狀態變更時,工作流程執行個體都會發出以其中一個 TrackingWorkflowEvent 值為基礎的工作流程狀態事件到執行階段追蹤基礎結構。Whenever the status of the workflow instance changes, the workflow instance emits a workflow status event based on one of the TrackingWorkflowEvent values to the runtime tracking infrastructure. WorkflowTrackingLocation 表示工作流程執行個體中發生特定類型工作流程狀態事件的位置。A WorkflowTrackingLocation expresses an interest in locations of the workflow instance where specific types of workflow status events occur. 您可以將 TrackingWorkflowEvent 值加入至 Events 中,以指定要比對的工作流程狀態事件。Add TrackingWorkflowEvent values to Events to specify the workflow status events to be matched. 單一 WorkflowTrackingLocation 可能會參考工作流程執行個體潛在執行路徑中的多個實際位置。A single WorkflowTrackingLocation may refer to more than one actual location in the potential execution path of a workflow instance. 您可以將 WorkflowTrackingLocation 加入至 WorkflowTrackPoint.MatchingLocation 中,以定義 WorkflowTrackPoint 的比對參數。You can add a WorkflowTrackingLocation to WorkflowTrackPoint.MatchingLocation in order to define the match parameters for a WorkflowTrackPoint.

建構函式

WorkflowTrackingLocation()

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

WorkflowTrackingLocation(IList<TrackingWorkflowEvent>)

初始化 WorkflowTrackingLocation 類別的新執行個體,該類別比對指定的追蹤工作流程事件。Initializes a new instance of the WorkflowTrackingLocation class that matches the specified tracking workflow events.

屬性

Events

取得將在此位置比對的工作流程狀態事件的清單。Gets the list of workflow status events that will be matched for this location.

方法

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)

適用於