Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpContextWrapper.Error Property

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 override Exception Error { get; }

Property Value

Type: System.Exception
The first exception for the current HTTP request, or null if no errors accumulated when the HTTP request was being processed. The default is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft