WorkflowApplication.BeginGetRunnableInstance Method (InstanceStore, TimeSpan, AsyncCallback, Object)

.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 a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.

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

public static IAsyncResult BeginGetRunnableInstance(
	InstanceStore instanceStore,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

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 and a TimeoutException is thrown.

callback
Type: System.AsyncCallback

The method to be called when the begin load operation has completed.

state
Type: System.Object

An optional application-specific object that contains information about the asynchronous operation.

Return Value

Type: System.IAsyncResult

A reference to the asynchronous operation.

.NET Framework
Available since 4.5
Return to top
Show: