ErrorsChangedEventManager.RemoveHandler 方法

定义

从指定源中移除指定的事件处理程序。

public:
 static void RemoveHandler(System::ComponentModel::INotifyDataErrorInfo ^ source, EventHandler<System::ComponentModel::DataErrorsChangedEventArgs ^> ^ handler);
public static void RemoveHandler (System.ComponentModel.INotifyDataErrorInfo source, EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> handler);
static member RemoveHandler : System.ComponentModel.INotifyDataErrorInfo * EventHandler<System.ComponentModel.DataErrorsChangedEventArgs> -> unit
Public Shared Sub RemoveHandler (source As INotifyDataErrorInfo, handler As EventHandler(Of DataErrorsChangedEventArgs))

参数

source
INotifyDataErrorInfo

引发 ErrorsChanged 事件的源对象。

handler
EventHandler<DataErrorsChangedEventArgs>

委托处理 ErrorsChanged 事件。

例外

handlernull

适用于