Bagikan melalui


SkipStatusCodePagesAttribute Kelas

Definisi

Filter yang mencegah eksekusi 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
Warisan
SkipStatusCodePagesAttribute
Atribut
Penerapan

Konstruktor

SkipStatusCodePagesAttribute()

Filter yang mencegah eksekusi middleware StatusCodePages.

Metode

OnResourceExecuted(ResourceExecutedContext)

Menjalankan filter sumber daya. Dipanggil setelah eksekusi sisa alur.

OnResourceExecuting(ResourceExecutingContext)

Menjalankan filter sumber daya. Dipanggil sebelum eksekusi sisa alur.

Berlaku untuk