Op Englesch liesen

Deelen iwwer


StatusCodePagesFeature Class

Definition

Represents the Status code pages feature.

C#
public class StatusCodePagesFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature
Inheritance
StatusCodePagesFeature
Implements

Constructors

Properties

Enabled

Enables or disables status code pages. The default value is true. Set this to false to prevent the StatusCodePagesMiddleware from creating a response body while handling the error status code.

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0