Edit

Share via


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Method

Definition

A workflow host typically invokes this method to wait for an event to be signaled.

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

The instance handle that is bound to the event.

timeout
TimeSpan

The time span after which the waiting operation times out.

Returns

A list of InstancePersistenceEvent objects.

Applies to