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
與持久事件相關的實例擁有者。