InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) メソッド

定義

ワークフロー ホストは通常、イベントが通知されるまで待機するためにこのメソッドを呼び出します。

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)

パラメーター

handle
InstanceHandle

イベントにバインドされているインスタンス ハンドル。

timeout
TimeSpan

待機中の操作がタイムアウトするまでの期間。

返品

InstancePersistenceEvent オブジェクトの一覧。

適用対象