ErrorsChangedEventManager.RemoveHandler Método

Definición

Quita el controlador de eventos especificado del origen indicado.

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))

Parámetros

source
INotifyDataErrorInfo

Objeto de origen que provoca el evento ErrorsChanged.

handler
EventHandler<DataErrorsChangedEventArgs>

Delegado que controla el evento ErrorsChanged.

Excepciones

handler es null.

Se aplica a