This documentation is archived and is not being maintained.
HttpContext.AddError Method
.NET Framework 1.1
Adds an exception to the exception collection for the current HTTP request.
[Visual Basic] Public Sub AddError( _ ByVal errorInfo As Exception _ ) [C#] public void AddError( Exception errorInfo ); [C++] public: void AddError( Exception* errorInfo ); [JScript] public function AddError( errorInfo : Exception );
Parameters
- errorInfo
- The Exception object to add to the exception collection.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpContext Class | HttpContext Members | System.Web Namespace
Show: