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.

SqlDataSourceStatusEventArgs::Exception Property

 

Gets a wrapper for any exceptions thrown by the database during a data operation.

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

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

Property Value

Type: System::Exception^

An Exception that wraps any exceptions thrown by the database in its InnerException property.

The Exception property does not represent the actual exception thrown by the database operation. You can access the thrown exception using the InnerException property.

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