Share via


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 オブジェクトのリスト。

適用対象