System.Web.UI.WebControls.FormViewUpdatedEventArgs.Exception Property

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

Syntax

public Exception Exception { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the FormViewUpdatedEventArgs.Exception property to determine the exception (if any) that was raised during the update 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 FormViewUpdatedEventArgs.ExceptionHandled property to true; otherwise, the exception is thrown again by the System.Web.UI.WebControls.FormView control.

Requirements

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