This documentation is archived and is not being maintained.

HttpContext.Error Property

Gets the first error (if any) accumulated during HTTP request processing.

[Visual Basic]
Public ReadOnly Property Error As Exception
[C#]
public Exception Error {get;}
[C++]
public: __property Exception* get_Error();
[JScript]
public function get Error() : Exception;

Property Value

The first Exception object for the current HTTP request/response process.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpContext Class | HttpContext Members | System.Web Namespace

Show: