System.Web.UI.WebControls.FormViewDeletedEventArgs.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 FormViewDeletedEventArgs.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 FormViewDeletedEventArgs.ExceptionHandled property to true; otherwise, the System.Web.UI.WebControls.FormView control re-throws the exception.

Requirements

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