Bagikan melalui


InstanceStore.WaitForEvents(InstanceHandle, TimeSpan) Metode

Definisi

Host alur kerja biasanya memanggil metode ini untuk menunggu peristiwa disinyalkan.

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)

Parameter

handle
InstanceHandle

Handel instans yang terikat ke peristiwa.

timeout
TimeSpan

Rentang waktu setelah waktu operasi tunggu habis.

Mengembalikan

Daftar objek InstancePersistenceEvent.

Berlaku untuk