InstanceStore.BeginWaitForEvents Methode

Definition

Startet einen asynchronen Vorgang, um auf ereignisse zu lauschen, die vom Instanzspeicher für ein bestimmtes Instanzhandle ausgelöst wurden.

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

Parameter

handle
InstanceHandle

Ein Instanzhandle.

timeout
TimeSpan

Der Zeitraum, nach dem sich der Vorgang auszeit.

callback
AsyncCallback

Die Methode, die aufgerufen werden soll, nachdem der asynchrone Vorgang abgeschlossen ist.

state
Object

Ein Objekt, das die Statusinformationen enthält, die dem asynchronen Vorgang zugeordnet sind.

Gibt zurück

Gibt ein IAsyncResult Objekt zurück.

Gilt für: