WorkflowApplication.GetRunnableInstance Method (InstanceStore, TimeSpan)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public static WorkflowApplicationInstance GetRunnableInstance(
	InstanceStore instanceStore,
	TimeSpan timeout
)

Parameters

instanceStore
Type: System.Runtime.DurableInstancing.InstanceStore

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

timeout
Type: System.TimeSpan

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

Return Value

Type: System.Activities.WorkflowApplicationInstance

The runnable instance.

.NET Framework
Available since 4.5
Return to top
Show: