HttpContextBase.Error Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the first error (if any) that accumulated when an HTTP request was being processed.
public:
virtual property Exception ^ Error { Exception ^ get(); };
public virtual Exception Error { get; }
member this.Error : Exception
Public Overridable ReadOnly Property Error As Exception
Property Value
The first exception for the current HTTP request/response process, or null
if no errors accumulated during the HTTP request processing.
Exceptions
Always.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.