Editar

Partilhar via


HttpContextWrapper.Error Property

Definition

Gets the first error (if any) that accumulated when an HTTP request was being processed.

public:
 virtual property Exception ^ Error { Exception ^ get(); };
public override Exception Error { get; }
member this.Error : Exception
Public Overrides ReadOnly Property Error As Exception

Property Value

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.

Applies to