Lue englanniksi

Jaa


SkipStatusCodePagesAttribute Class

Definition

A filter that prevents execution of the StatusCodePages middleware.

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class SkipStatusCodePagesAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter
C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class SkipStatusCodePagesAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.ISkipStatusCodePagesMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter
Inheritance
SkipStatusCodePagesAttribute
Attributes
Implements

Constructors

Methods

OnResourceExecuted(ResourceExecutedContext)

Executes the resource filter. Called after execution of the remainder of the pipeline.

OnResourceExecuting(ResourceExecutingContext)

Executes the resource filter. Called before execution of the remainder of the pipeline.

Applies to

Tuote Versiot
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