System.Web.HttpContext.AddError Method

Adds an exception to the exception collection for the current HTTP request.

Syntax

public void AddError (Exception errorInfo)

Parameters

errorInfo
The Exception to add to the exception collection.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0