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 。