InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Methode

Definition

Ein Workflowhost ruft diese Methode in der Regel auf, um zu warten, bis ein Ereignis signalisiert wird.

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)

Parameter

handle
InstanceHandle

Das Instanzhandle, das an das Ereignis gebunden ist.

timeout
TimeSpan

Die Zeitspanne, nach der der Wartevorgang ausgelastet ist.

Gibt zurück

Eine Liste von InstancePersistenceEvent Objekten.

Gilt für: