InstanceStore.BeginWaitForEvents Methode

Definitie

Hiermee wordt een asynchrone bewerking gestart om te luisteren naar gebeurtenissen die door het exemplaararchief zijn gegenereerd voor een specifieke instantie-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

Een exemplaarhandgreep.

timeout
TimeSpan

De periode waarna er een time-out optreedt voor de bewerking.

callback
AsyncCallback

De methode die moet worden aangeroepen nadat de asynchrone bewerking is voltooid.

state
Object

Een object met de statusinformatie die is gekoppeld aan de asynchrone bewerking.

Retouren

Retourneert een IAsyncResult object.

Van toepassing op