Edit

Share via


WorkflowApplication.GetRunnableInstance Method

Definition

Retrieves the runnable instance of the workflow.

Overloads

GetRunnableInstance(InstanceStore, TimeSpan)

Retrieves the runnable instance of the workflow with specified instance store and timeout interval.

GetRunnableInstance(InstanceStore)

Retrieves the runnable instance of the workflow with specified instance store.

GetRunnableInstance(InstanceStore, TimeSpan)

Retrieves the runnable instance of the workflow with specified instance store and timeout interval.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout);
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout);
static member GetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * TimeSpan -> System.Activities.WorkflowApplicationInstance
Public Shared Function GetRunnableInstance (instanceStore As InstanceStore, timeout As TimeSpan) As WorkflowApplicationInstance

Parameters

instanceStore
InstanceStore

The access to the persisted state of the current instance of the workflow application.

timeout
TimeSpan

The interval in which the begin load operation must complete before the operation is canceled.

Returns

The runnable instance.

Applies to

GetRunnableInstance(InstanceStore)

Retrieves the runnable instance of the workflow with specified instance store.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore);
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore);
static member GetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore -> System.Activities.WorkflowApplicationInstance
Public Shared Function GetRunnableInstance (instanceStore As InstanceStore) As WorkflowApplicationInstance

Parameters

instanceStore
InstanceStore

The access to the persisted state of the current instance of the workflow application.

Returns

The runnable instance.

Applies to