共用方式為


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)

執行資源篩選。 在執行管線的其餘部分之前呼叫。

適用於