IWorkflowDebugger.BeforeActivityStatusChanged 方法

定义

在工作流中活动的 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

scheduleTypeId
Guid

一个与工作流类型关联的、内部生成的 Guid

instanceId
Guid

一个与当前正在运行的工作流实例关联的 Guid

activityQualifiedName
String

一个 String,其中包含当前活动的完全限定名。

hierarchicalActivityId
String

一个 String,其中包含父活动的限定名。

status
ActivityExecutionStatus

当前活动的 ExecutionStatus

stateReaderId
Int32

一个 Int32,其中包含与当前活动关联的活动执行上下文 ID。

适用于