Share via


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Método

Definición

Host de flujo de trabajo que normalmente 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 que está enlazado al evento.

timeout
TimeSpan

Intervalo de tiempo transcurrido el cual se supera el tiempo de espera.

Devoluciones

Una lista de objetos InstancePersistenceEvent.

Se aplica a