Export (0) Print
Expand All

HttpContext.Error Property

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

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

member Error : Exception with get

Property Value

Type: System.Exception
The first Exception for the current HTTP request/response process; otherwise, a null reference (Nothing in Visual Basic) if no errors were accumulated during the HTTP request processing. The default is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft