WeakEventManager.ProtectedRemoveHandler(Object, Delegate) 方法

定义

从指定的源中移除以前添加的处理程序。

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 移除的委托。

适用于