Share via


TypeDescriptorPermissionFlags Výčet

Definice

Upozornění

Code Access Security is not supported or honored by the runtime.

Definuje nastavení oprávnění pro popisovače typů.

Tento výčet podporuje bitové kombinace hodnot jeho členů.

public enum class TypeDescriptorPermissionFlags
[System.Flags]
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum TypeDescriptorPermissionFlags
[System.Flags]
[System.Serializable]
public enum TypeDescriptorPermissionFlags
[System.Flags]
public enum TypeDescriptorPermissionFlags
[<System.Flags>]
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type TypeDescriptorPermissionFlags = 
[<System.Flags>]
[<System.Serializable>]
type TypeDescriptorPermissionFlags = 
[<System.Flags>]
type TypeDescriptorPermissionFlags = 
Public Enum TypeDescriptorPermissionFlags
Dědičnost
TypeDescriptorPermissionFlags
Atributy

Pole

NoFlags 0

Na popisovači typu nejsou nastavené žádné příznaky oprávnění.

RestrictedRegistrationAccess 1

Popisovač typu může být volána z částečně důvěryhodného kódu.

Poznámky

Upozornění

Zabezpečení přístupu kódu (CAS) bylo zastaralé ve všech verzích rozhraní .NET Framework a .NET. Nedávné verze rozhraní .NET nedodržují poznámky CAS a při použití rozhraní API souvisejících s cas vytvářejí chyby. Vývojáři by měli hledat alternativní způsoby provádění úloh zabezpečení.

Platí pro