InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metod

Definition

En arbetsflödesvärd anropar vanligtvis den här metoden för att vänta på att en händelse ska signaleras.

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)

Parametrar

handle
InstanceHandle

Instanshandtaget som är bundet till händelsen.

timeout
TimeSpan

Tidsintervallet efter vilket väntetiden överskrids.

Returer

En lista över InstancePersistenceEvent objekt.

Gäller för