AllowAnonymousAttribute Klasse

Definition

Stellt ein Attribut dar, das Controller und Aktionen markiert, die während der Autorisierung übersprungen AuthorizeAttribute werden sollen.

[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
Vererbung
AllowAnonymousAttribute
Attribute

Konstruktoren

AllowAnonymousAttribute()

Initialisiert eine neue Instanz der AllowAnonymousAttribute-Klasse.

Gilt für: