InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Methode

Definition

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

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

Der Instanzhandle, der an das Ereignis gebunden ist.

timeout
TimeSpan

Die Zeitspanne, nach der es zum Timeout des wartenden Vorgangs kommt.

Gibt zurück

List<InstancePersistenceEvent>

Eine Liste von InstancePersistenceEvent-Objekten.

Gilt für