共用方式為


IWorkflowDebugger.ActivityStatusChanged 方法

定義

工作流程內活動的 ExecutionStatus 變更時呼叫。

public:
 void ActivityStatusChanged(Guid programId, Guid scheduleTypeId, Guid instanceId, System::String ^ activityQualifiedName, System::String ^ hierarchicalActivityId, System::Workflow::ComponentModel::ActivityExecutionStatus status, int stateReaderId);
public void ActivityStatusChanged (Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId, System.Workflow.ComponentModel.ActivityExecutionStatus status, int stateReaderId);
abstract member ActivityStatusChanged : Guid * Guid * Guid * string * string * System.Workflow.ComponentModel.ActivityExecutionStatus * int -> unit
Public Sub ActivityStatusChanged (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 執行個體關聯。

scheduleTypeId
Guid

內部產生的 Guid,與工作流程類型關聯。

instanceId
Guid

Guid,與目前正在執行的工作流程執行個體關聯。

activityQualifiedName
String

包含目前活動之完整名稱的 String

hierarchicalActivityId
String

包含父活動之限定名稱的 String

status
ActivityExecutionStatus

目前活動的 ExecutionStatus

stateReaderId
Int32

Int32,其中包含與目前活動關聯的活動執行內容 ID。

適用於