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 对象数组。

适用于