語言

InstanceStore.ResetEvent(InstancePersistenceEvent, InstanceOwner) 方法

定義

重置已訊號事件,並將該事件從實例擁有者維護的訊號事件清單中移除。

protected:
 void ResetEvent(System::Runtime::DurableInstancing::InstancePersistenceEvent ^ persistenceEvent, System::Runtime::DurableInstancing::InstanceOwner ^ owner);
protected void ResetEvent(System.Runtime.DurableInstancing.InstancePersistenceEvent persistenceEvent, System.Runtime.DurableInstancing.InstanceOwner owner);
member this.ResetEvent : System.Runtime.DurableInstancing.InstancePersistenceEvent * System.Runtime.DurableInstancing.InstanceOwner -> unit
Protected Sub ResetEvent (persistenceEvent As InstancePersistenceEvent, owner As InstanceOwner)

參數

persistenceEvent
InstancePersistenceEvent

之前被提醒並需要重置的持久事件。

owner
InstanceOwner

與持久事件相關的實例擁有者。

適用於