System.Web.UI.WebControls.DetailsViewDeletedEventArgs.Exception Property

Gets the exception (if any) that was raised during the delete operation.

Syntax

public Exception Exception { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DetailsViewDeletedEventArgs.Exception property to determine the exception (if any) that was raised during the delete operation. If no exceptions were raised, this property returns null.

Note:

If an exception was raised and you decide to handle the exception in the event handler, be sure to set the DetailsViewDeletedEventArgs.ExceptionHandled property to true; otherwise, the exception is passed to the next method on the call stack for handling.

Requirements

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