InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Methode

Definitie

Een werkstroomhost roept deze methode doorgaans aan om te wachten tot een gebeurtenis wordt gesignaleerd.

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)

Parameters

handle
InstanceHandle

De instantie-handle die is gebonden aan de gebeurtenis.

timeout
TimeSpan

De tijdsduur waarna er een time-out optreedt voor de wachtbewerking.

Retouren

Een lijst InstancePersistenceEvent met objecten.

Van toepassing op