InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.