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 的數字,該活動叫用與追蹤通道關聯的工作流程執行個體。
備註
執行階段追蹤基礎結構會呼叫這個建構函式。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應