Прочетете на английски Редактиране

Споделяне чрез


HttpContextBase.AllErrors Property

Definition

When overridden in a derived class, gets an array of errors (if any) that accumulated when an HTTP request was being processed.

C#
public virtual Exception[] AllErrors { get; }

Property Value

An array of Exception objects for the current HTTP request, or null if no errors accumulated during the HTTP request processing.

Exceptions

Applies to

Продукт Версии
.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