Share via


InstanceStore.BeginWaitForEvents Méthode

Définition

Commence une opération asynchrone pour écouter tous les événements déclenchés par le magasin d'instances pour un handle d'instance spécifique.

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

Paramètres

handle
InstanceHandle

Handle d'instance.

timeout
TimeSpan

Période précédant l'expiration de l'opération.

callback
AsyncCallback

Méthode à appeler une fois l'opération asynchrone terminée.

state
Object

Objet contenant les informations d'état associées à l'opération asynchrone.

Retours

Retourne un objet IAsyncResult.

S’applique à