InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Método

Definición

Normalmente, un host de flujo de trabajo invoca este método para esperar a que se señale 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)

Parámetros

handle
InstanceHandle

Identificador de instancia enlazado al evento.

timeout
TimeSpan

Intervalo de tiempo después del cual se agota el tiempo de espera de la operación.

Devoluciones

Lista de InstancePersistenceEvent objetos.

Se aplica a