Partilhar via


SkipStatusCodePagesAttribute Classe

Definição

Um filtro que impede a execução do middleware StatusCodePages.

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
Herança
SkipStatusCodePagesAttribute
Atributos
Implementações

Construtores

SkipStatusCodePagesAttribute()

Um filtro que impede a execução do middleware StatusCodePages.

Métodos

OnResourceExecuted(ResourceExecutedContext)

Executa o filtro de recurso. Chamado após a execução do restante do pipeline.

OnResourceExecuting(ResourceExecutingContext)

Executa o filtro de recurso. Chamado antes da execução do restante do pipeline.

Aplica-se a