StatusCodePagesFeature Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Status code pages feature.
public ref class StatusCodePagesFeature : Microsoft::AspNetCore::Diagnostics::IStatusCodePagesFeature
public class StatusCodePagesFeature : Microsoft.AspNetCore.Diagnostics.IStatusCodePagesFeature
type StatusCodePagesFeature = class
interface IStatusCodePagesFeature
Public Class StatusCodePagesFeature
Implements IStatusCodePagesFeature
- Inheritance
-
StatusCodePagesFeature
- Implements
Constructors
StatusCodePagesFeature() |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for