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.
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.
.NET Framework
Available since 4.0
Available since 4.0
Show: