SkipStatusCodePagesAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
阻止执行 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) |
执行资源筛选器。 在执行管道的其余部分之前调用。 |