InstanceStore.BeginWaitForEvents Method

Definition

Begins an asynchronous operation to listen for any events raised by the instance store for a specific instance handle.

C#
public IAsyncResult BeginWaitForEvents(System.Runtime.DurableInstancing.InstanceHandle handle, TimeSpan timeout, AsyncCallback callback, object state);

Parameters

handle
InstanceHandle

An instance handle.

timeout
TimeSpan

The period after which the operation times out.

callback
AsyncCallback

The method to be called after the asynchronous operation is complete.

state
Object

An object containing the state information associated with the asynchronous operation.

Returns

Returns an IAsyncResult object.

Applies to

Product Versions
.NET Framework 4.0, 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