WeakEventManager.ProtectedRemoveHandler(Object, Delegate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除先前新增的處理器,從指定來源中移除。
protected:
void ProtectedRemoveHandler(System::Object ^ source, Delegate ^ handler);
protected void ProtectedRemoveHandler(object source, Delegate handler);
member this.ProtectedRemoveHandler : obj * Delegate -> unit
Protected Sub ProtectedRemoveHandler (source As Object, handler As Delegate)
參數
- source
- Object
要把操控者從那裡移除。
- handler
- Delegate
將代理人從中移除 source。