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。
注解
从持久性存储区中加载工作流实例时,或将调试器附加到已有工作流实例在运行的工作流宿主时,会调用此方法。