IWorkflowDebugger.SetInitialActivityStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.