ErrorsChangedEventManager.RemoveHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified event handler from the specified source.
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))
Parameters
- source
- INotifyDataErrorInfo
The source object that raises the ErrorsChanged event.
- handler
- EventHandler<DataErrorsChangedEventArgs>
The delegate that handles the ErrorsChanged event.
Exceptions
handler
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.