Bagikan melalui


AllowAnonymousAttribute Kelas

Definisi

Mewakili atribut yang menandai pengontrol dan tindakan untuk melewati AuthorizeAttribute selama otorisasi.

[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
Warisan
AllowAnonymousAttribute
Atribut

Konstruktor

AllowAnonymousAttribute()

Menginisialisasi instans baru kelas AllowAnonymousAttribute.

Berlaku untuk