Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingCompleteEventArgs::Exception Property

 

Gets the exception that occurred during the binding operation.

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

public:
property Exception^ Exception {
	Exception^ get();
}

Property Value

Type: System::Exception^

The Exception that occurred during the binding operation.

This property returns null if an exception did not occur during the binding operation.

The following code example demonstrates how to handle the BindingComplete event and use the BindingCompleteEventArgs to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the InitializeControlsAndData method from the form's constructor or Load event-handling method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft