AllowAnonymousAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Reprezentuje atrybut, który oznacza kontrolery i akcje, aby pominąć AuthorizeAttribute podczas autoryzacji.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class AllowAnonymousAttribute : Attribute
type AllowAnonymousAttribute = class
inherit Attribute
Public NotInheritable Class AllowAnonymousAttribute
Inherits Attribute
- Dziedziczenie
-
AllowAnonymousAttribute
- Atrybuty
Konstruktory
AllowAnonymousAttribute() |
Inicjuje nowe wystąpienie klasy AllowAnonymousAttribute. |