ErrorsChangedEventManager::RemoveHandler Method (INotifyDataErrorInfo^, EventHandler<DataErrorsChangedEventArgs^>^)

.NET Framework (current version)
 

Removes the specified event handler from the specified source.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public:
static void RemoveHandler(
	INotifyDataErrorInfo^ source,
	EventHandler<DataErrorsChangedEventArgs^>^ handler
)

Parameters

source
Type: System.ComponentModel::INotifyDataErrorInfo^

The source object that raises the ErrorsChanged event.

handler
Type: System::EventHandler<DataErrorsChangedEventArgs^>^

The delegate that handles the ErrorsChanged event.

Exception Condition
ArgumentNullException

handler is null.

.NET Framework
Available since 4.5
Return to top
Show: