InstanceStore.BeginWaitForEvents Method

Definition

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

public:
 IAsyncResult ^ BeginWaitForEvents(System::Runtime::DurableInstancing::InstanceHandle ^ handle, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginWaitForEvents (System.Runtime.DurableInstancing.InstanceHandle handle, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginWaitForEvents : System.Runtime.DurableInstancing.InstanceHandle * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginWaitForEvents (handle As InstanceHandle, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

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