InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metodo

Definizione

Un host del flusso di lavoro richiama in genere questo metodo per attendere che venga segnalato un evento.

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)

Parametri

handle
InstanceHandle

Handle di istanza associato all'evento.

timeout
TimeSpan

Intervallo di tempo dopo il quale si verifica il timeout dell'operazione di attesa.

Valori restituiti

Elenco di InstancePersistenceEvent oggetti.

Si applica a