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

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

Toode Versioonid
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1