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::Error Property

 

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

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

public:
property Exception^ Error {
	Exception^ get();
}

Property Value

Type: System::Exception^

The first Exception for the current HTTP request/response process; otherwise, null if no errors were accumulated during the HTTP request processing. The default is null.

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