Upravit

Sdílet prostřednictvím


HttpContextBase.Error Property

Definition

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

Applies to