Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContext::AddError Method (Exception^)

 

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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
void AddError(
	Exception^ errorInfo
)

Parameters

errorInfo
Type: System::Exception^

The Exception to add to the exception collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft