HttpContextWrapper.AddError Method (Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public override void AddError(
	Exception errorInfo
)

Parameters

errorInfo
Type: System.Exception

The exception to add to the exception collection.

.NET Framework
Available since 3.5
Return to top
Show: