InstanceStore.ResetEvent(InstancePersistenceEvent, InstanceOwner) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重設信號事件,並從執行個體擁有者維護的信號事件清單中移除事件。
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
與持續性事件相關聯的執行個體擁有者。