Sdílet prostřednictvím


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metoda

Definice

Hostitel pracovního postupu obvykle vyvolá tuto metodu, aby čekal na signál události.

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)

Parametry

handle
InstanceHandle

Popisovač instance, který je svázán s událostí.

timeout
TimeSpan

Časový rozsah, po jehož uplynutí vyprší časový limit operace čekání.

Návraty

Seznam InstancePersistenceEvent objektů.

Platí pro