Język

ShortCircuitAttribute Klasa

Definicja

Zwarcie punktów końcowych. Wykonanie punktu końcowego zostanie wykonane w narzędziu pośredniczącym UseRouting.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class ShortCircuitAttribute : Attribute, Microsoft.AspNetCore.Routing.IShortCircuitMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type ShortCircuitAttribute = class
    inherit Attribute
    interface IShortCircuitMetadata
Public NotInheritable Class ShortCircuitAttribute
Inherits Attribute
Implements IShortCircuitMetadata
Dziedziczenie
ShortCircuitAttribute
Atrybuty
Implementuje

Konstruktory

Nazwisko Opis
ShortCircuitAttribute()

Tworzy wystąpienie klasy ShortCircuitAttribute.

ShortCircuitAttribute(Int32)

Tworzy wystąpienie klasy ShortCircuitAttribute.

Właściwości

Nazwisko Opis
StatusCode

Kod stanu ustawiony w odpowiedzi.

Dotyczy