InstancePersistenceContext.BindEvent(InstancePersistenceEvent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 InstancePersistenceEvent 繫結至執行個體控制代碼。
public:
void BindEvent(System::Runtime::DurableInstancing::InstancePersistenceEvent ^ persistenceEvent);
public void BindEvent (System.Runtime.DurableInstancing.InstancePersistenceEvent persistenceEvent);
member this.BindEvent : System.Runtime.DurableInstancing.InstancePersistenceEvent -> unit
Public Sub BindEvent (persistenceEvent As InstancePersistenceEvent)
參數
- persistenceEvent
- InstancePersistenceEvent
包含事件相關資訊的 InstancePersistenceEvent 物件。