IWorkflowDebugger.SetInitialActivityStatus 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
呼叫以設定工作流程中的活動初始狀態。
public:
void SetInitialActivityStatus(Guid programId, Guid scheduleTypeId, Guid instanceId, System::String ^ activityQualifiedName, System::String ^ hierarchicalActivityId, System::Workflow::ComponentModel::ActivityExecutionStatus status, int stateReaderId);
public void SetInitialActivityStatus (Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId, System.Workflow.ComponentModel.ActivityExecutionStatus status, int stateReaderId);
abstract member SetInitialActivityStatus : Guid * Guid * Guid * string * string * System.Workflow.ComponentModel.ActivityExecutionStatus * int -> unit
Public Sub SetInitialActivityStatus (programId As Guid, scheduleTypeId As Guid, instanceId As Guid, activityQualifiedName As String, hierarchicalActivityId As String, status As ActivityExecutionStatus, stateReaderId As Integer)
參數
- programId
- Guid
內部產生的 Guid,與 WorkflowRuntime 執行個體關聯。
- status
- ActivityExecutionStatus
目前活動的 ExecutionStatus。
備註
從持續性存放區載入工作流程執行個體,或偵錯工具附加到擁有執行中工作流程執行個體的工作流程主機時,會呼叫此方法。