System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs.ExceptionHandled Property

Gets or sets a value indicating whether an exception that was thrown by the business object has been handled.

Syntax

public bool ExceptionHandled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the business object throws an exception, the ObjectDataSourceStatusEventArgs.ExceptionHandled property is set to false and the exception is wrapped by the ObjectDataSourceStatusEventArgs.Exception property. If you use an System.Web.UI.WebControls.ObjectDataSourceStatusEventHandler object, you can check the ObjectDataSourceStatusEventArgs.Exception property and handle the exception. If you handle the exception, set the ObjectDataSourceStatusEventArgs.ExceptionHandled property to true or the System.Web.UI.WebControls.ObjectDataSource control will throw an exception.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0