BeginWaitForEvents Method

InstanceStore.BeginWaitForEvents Method (InstanceHandle, TimeSpan, AsyncCallback, Object)

.NET Framework (current version)
 

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

Namespace:   System.Runtime.DurableInstancing
Assembly:  System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)

public IAsyncResult BeginWaitForEvents(
	InstanceHandle handle,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

handle
Type: System.Runtime.DurableInstancing.InstanceHandle

An instance handle.

timeout
Type: System.TimeSpan

The period after which the operation times out.

callback
Type: System.AsyncCallback

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

state
Type: System.Object

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

Return Value

Type: System.IAsyncResult

Returns an IAsyncResult object..

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft