Share via


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Yöntem

Tanım

bir iş akışı konağı genellikle bir olayın sinyallemesini beklemek için bu yöntemi çağırır.

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)

Parametreler

handle
InstanceHandle

Olaya bağlı örnek tanıtıcısı.

timeout
TimeSpan

Bekleme işleminin zaman aşımına uğradıktan sonraki zaman aralığı.

Döndürülenler

Nesnelerin listesi InstancePersistenceEvent .

Şunlara uygulanır