BindingSource::DataError Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs when a currency-related exception is silently handled by the BindingSource.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
event BindingManagerDataErrorEventHandler^ DataError {
	void add(BindingManagerDataErrorEventHandler^ value);
	void remove(BindingManagerDataErrorEventHandler^ value);
}

This event is informational and reports CLS-compliant exceptions only. To determine what type of exception occurred, handle this event and check the Exception property of the BindingManagerDataErrorEventArgs.

For more information about handling events, see Handling and Raising Events.

.NET Framework
Available since 2.0
Return to top
Show: