InstanceStore.GetEvents(InstanceOwner) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
把所有訊號事件綁定到一個 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 陣列。