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.

C#
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance(System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetRunnableInstance(InstanceStore)

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

C#
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance(System.Runtime.DurableInstancing.InstanceStore instanceStore);

Parameters

instanceStore
InstanceStore

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

Returns

The runnable instance.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1