語言

InstanceStore.GetEvents(InstanceOwner) 方法

定義

把所有訊號事件綁定到一個 InstanceOwner 物件上。

protected:
 cli::array <System::Runtime::DurableInstancing::InstancePersistenceEvent ^> ^ GetEvents(System::Runtime::DurableInstancing::InstanceOwner ^ owner);
protected System.Runtime.DurableInstancing.InstancePersistenceEvent[] GetEvents(System.Runtime.DurableInstancing.InstanceOwner owner);
member this.GetEvents : System.Runtime.DurableInstancing.InstanceOwner -> System.Runtime.DurableInstancing.InstancePersistenceEvent[]
Protected Function GetEvents (owner As InstanceOwner) As InstancePersistenceEvent()

參數

owner
InstanceOwner

一個 InstanceOwner 代表實例擁有者的物件。

傳回

回傳一個物件 InstancePersistenceEvent 陣列。

適用於