Share via


SkipStatusCodePagesAttribute Class

Definition

A filter that prevents execution of the StatusCodePages middleware.

public ref class SkipStatusCodePagesAttribute : Attribute, Microsoft::AspNetCore::Mvc::Filters::IResourceFilter
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class SkipStatusCodePagesAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter
[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
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type SkipStatusCodePagesAttribute = class
    inherit Attribute
    interface IResourceFilter
    interface IFilterMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type SkipStatusCodePagesAttribute = class
    inherit Attribute
    interface IFilterMetadata
    interface IResourceFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type SkipStatusCodePagesAttribute = class
    inherit Attribute
    interface IResourceFilter
    interface IFilterMetadata
    interface ISkipStatusCodePagesMetadata
Public Class SkipStatusCodePagesAttribute
Inherits Attribute
Implements IResourceFilter
Public Class SkipStatusCodePagesAttribute
Inherits Attribute
Implements IResourceFilter, ISkipStatusCodePagesMetadata
Inheritance
SkipStatusCodePagesAttribute
Attributes
Implements

Constructors

SkipStatusCodePagesAttribute()

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