SkipStatusCodePagesAttribute 类

定义

阻止执行 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
继承
SkipStatusCodePagesAttribute
属性
实现

构造函数

SkipStatusCodePagesAttribute()

阻止执行 StatusCodePages 中间件的筛选器。

方法

OnResourceExecuted(ResourceExecutedContext)

执行资源筛选器。 在执行管道的其余部分后调用。

OnResourceExecuting(ResourceExecutingContext)

执行资源筛选器。 在执行管道的其余部分之前调用。

适用于