Sdílet prostřednictvím


InstanceStore.BeginWaitForEvents Metoda

Definice

Zahájí asynchronní operaci, která naslouchá událostem vyvolaným úložištěm instancí pro konkrétní popisovač instance.

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

Parametry

handle
InstanceHandle

Popisovač instance.

timeout
TimeSpan

Období, po jehož uplynutí vyprší časový limit operace.

callback
AsyncCallback

Metoda, která má být volána po asynchronní operaci je dokončena.

state
Object

Objekt obsahující informace o stavu přidružené k asynchronní operaci.

Návraty

IAsyncResult Vrátí objekt.

Platí pro