InstanceStore::WaitForEvents Method (InstanceHandle^, TimeSpan)
.NET Framework (current version)
A workflow host typically invokes this method to wait for an event to be signaled.
Assembly: System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)
public:
List<InstancePersistenceEvent^>^ WaitForEvents(
InstanceHandle^ handle,
TimeSpan timeout
)
Parameters
- handle
-
Type:
System.Runtime.DurableInstancing::InstanceHandle^
The instance handle that is bound to the event.
- timeout
-
Type:
System::TimeSpan
The time span after which the waiting operation times out.
Return Value
Type: System.Collections.Generic::List<InstancePersistenceEvent^>^A list of InstancePersistenceEvent objects.
.NET Framework
Available since 4.0
Available since 4.0
Show: