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: