Redigera

Dela via


WorkflowApplication.BeginGetRunnableInstance Method

Definition

Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern.

Overloads

BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object)

Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.

BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object)

Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.

BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object)

Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.

public:
 static IAsyncResult ^ BeginGetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore, AsyncCallback callback, object state);
static member BeginGetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetRunnableInstance (instanceStore As InstanceStore, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

instanceStore
InstanceStore

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

callback
AsyncCallback

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

state
Object

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

Returns

A reference to the asynchronous operation.

Applies to

BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object)

Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.

public:
 static IAsyncResult ^ BeginGetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state);
static member BeginGetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetRunnableInstance (instanceStore As InstanceStore, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

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

callback
AsyncCallback

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

state
Object

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

Returns

A reference to the asynchronous operation.

Applies to