InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Método

Definição

Um host de workflow normalmente invoca este método para esperar que um evento seja sinalizado.

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

O handle de instância que está ligado ao evento.

timeout
TimeSpan

O período de tempo após o qual a operação de espera termina.

Devoluções

Uma lista de InstancePersistenceEvent objetos.

Aplica-se a