Edit

Bagikan melalui


IWorkflowDebugger.SetInitialActivityStatus Method

Definition

Called to set the initial status of the activities in a workflow.

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)

Parameters

programId
Guid

An internally generated Guid associated with a WorkflowRuntime instance.

scheduleTypeId
Guid

An internally generated Guid associated with a workflow type.

instanceId
Guid

A Guid associated with the currently running workflow instance.

activityQualifiedName
String

A String containing the fully qualified name of the current activity.

hierarchicalActivityId
String

A String containing the qualified name of the parent activity.

status
ActivityExecutionStatus

The ExecutionStatus of the current activity.

stateReaderId
Int32

An Int32 containing the activity execution context ID associated with the current activity.

Remarks

This method is called when a workflow instance is loaded from a persistence store or when the debugger is attached to a workflow host that has workflow instance already running.

Applies to