IWorkflowDebugger.BeforeActivityStatusChanged 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
工作流程內活動的 ExecutionStatus 變更前呼叫。
public:
void BeforeActivityStatusChanged(Guid programId, Guid scheduleTypeId, Guid instanceId, System::String ^ activityQualifiedName, System::String ^ hierarchicalActivityId, System::Workflow::ComponentModel::ActivityExecutionStatus status, int stateReaderId);
public void BeforeActivityStatusChanged (Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId, System.Workflow.ComponentModel.ActivityExecutionStatus status, int stateReaderId);
abstract member BeforeActivityStatusChanged : Guid * Guid * Guid * string * string * System.Workflow.ComponentModel.ActivityExecutionStatus * int -> unit
Public Sub BeforeActivityStatusChanged (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。