Share via


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Méthode

Définition

Un hôte de flux de travail appelle généralement cette méthode pour attendre qu'un événement soit signalé.

public:
 System::Collections::Generic::List<System::Runtime::DurableInstancing::InstancePersistenceEvent ^> ^ WaitForEvents(System::Runtime::DurableInstancing::InstanceHandle ^ handle, TimeSpan timeout);
public System.Collections.Generic.List<System.Runtime.DurableInstancing.InstancePersistenceEvent> WaitForEvents (System.Runtime.DurableInstancing.InstanceHandle handle, TimeSpan timeout);
member this.WaitForEvents : System.Runtime.DurableInstancing.InstanceHandle * TimeSpan -> System.Collections.Generic.List<System.Runtime.DurableInstancing.InstancePersistenceEvent>
Public Function WaitForEvents (handle As InstanceHandle, timeout As TimeSpan) As List(Of InstancePersistenceEvent)

Paramètres

handle
InstanceHandle

Handle d'instance lié à l'événement.

timeout
TimeSpan

Intervalle de temps à l'issue duquel l'opération d'attente arrive à expiration.

Retours

Liste des objets InstancePersistenceEvent.

S’applique à