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.

EntityDataSourceChangingEventArgs::Exception Property

 

Gets the exception that was thrown while the data was being validated before the insert, update, or delete operation.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

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

Property Value

Type: System::Exception^

The exception, if an error occurred; otherwise, a null reference (Nothing in Visual Basic).

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