InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metodo

Definizione

Un host del flusso di lavoro richiama in genere questo metodo per attendere la segnalazione di 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

Periodo di tempo trascorso il quale si verifica il timeout dell'operazione di attesa.

Restituisce

Elenco di oggetti InstancePersistenceEvent.

Si applica a