HttpContextBase::Error Property

 

When overridden in a derived class, gets the first error (if any) that accumulated when an HTTP request was being processed.

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

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

Property Value

Type: System::Exception^

The first exception for the current HTTP request/response process, or null if no errors accumulated during the HTTP request processing.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: