Edit

Share via


StateMachineWorkflowInstance(WorkflowRuntime, Guid) Constructor

Definition

Initializes a new instance of the StateMachineWorkflowInstance class.

public:
 StateMachineWorkflowInstance(System::Workflow::Runtime::WorkflowRuntime ^ runtime, Guid instanceId);
public StateMachineWorkflowInstance(System.Workflow.Runtime.WorkflowRuntime runtime, Guid instanceId);
new System.Workflow.Activities.StateMachineWorkflowInstance : System.Workflow.Runtime.WorkflowRuntime * Guid -> System.Workflow.Activities.StateMachineWorkflowInstance
Public Sub New (runtime As WorkflowRuntime, instanceId As Guid)

Parameters

runtime
WorkflowRuntime

The current workflow runtime.

instanceId
Guid

The Guid that indicates the instance of the StateMachineWorkflowActivity.

Exceptions

runtime is a null reference (Nothing in Visual Basic).

or

instanceId is an empty Guid.

Applies to