AllowAnonymousAttribute Classe

Definizione

Rappresenta un attributo che contrassegna i controller e le azioni da ignorare durante l'autorizzazione AuthorizeAttribute .

[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
Ereditarietà
AllowAnonymousAttribute
Attributi

Costruttori

AllowAnonymousAttribute()

Inizializza una nuova istanza della classe AllowAnonymousAttribute.

Si applica a