语言

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 。

适用于