TrackingParameters 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 TrackingParameters 類別的新執行個體。
public:
TrackingParameters(Guid instanceId, Type ^ workflowType, System::Workflow::ComponentModel::Activity ^ rootActivity, System::Collections::Generic::IList<System::String ^> ^ callPath, Guid callerInstanceId, Guid contextGuid, Guid callerContextGuid, Guid callerParentContextGuid);
public TrackingParameters(Guid instanceId, Type workflowType, System.Workflow.ComponentModel.Activity rootActivity, System.Collections.Generic.IList<string> callPath, Guid callerInstanceId, Guid contextGuid, Guid callerContextGuid, Guid callerParentContextGuid);
new System.Workflow.Runtime.Tracking.TrackingParameters : Guid * Type * System.Workflow.ComponentModel.Activity * System.Collections.Generic.IList<string> * Guid * Guid * Guid * Guid -> System.Workflow.Runtime.Tracking.TrackingParameters
Public Sub New (instanceId As Guid, workflowType As Type, rootActivity As Activity, callPath As IList(Of String), callerInstanceId As Guid, contextGuid As Guid, callerContextGuid As Guid, callerParentContextGuid As Guid)
參數
一串字串,每個字串代表 QualifiedName 與追蹤通道相關工作流程實例呼叫鏈中某項活動的行為。 目前,只有 QualifiedName 呼叫該工作流程實例的活動會被包含在清單中。
- contextGuid
- Guid
一個用來識別與追蹤通道相關工作流程實例根活動的 ActivityExecutionContext 數字。
- callerContextGuid
- Guid
一個編號,用 ActivityExecutionContext 來識別與追蹤通道相關聯的工作流程實例所呼叫的活動。
- callerParentContextGuid
- Guid
一個編號,用來識別呼叫與追蹤通道相關工作流程實例的活動的父 ActivityExecutionContext 節點。
備註
建構子由執行時追蹤基礎設施呼叫。