TypeDescriptorPermissionFlags Wyliczenie

Definicja

Przestroga

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

Definiuje ustawienia uprawnień dla deskryptorów typów.

To wyliczenie obsługuje bitową kombinację jego wartości składowych.

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
Dziedziczenie
TypeDescriptorPermissionFlags
Atrybuty

Pola

NoFlags 0

Nie ustawiono flag uprawnień w deskryptorze typów.

RestrictedRegistrationAccess 1

Deskryptor typów może być wywoływany z częściowo zaufanego kodu.

Uwagi

Przestroga

Zabezpieczenia dostępu do kodu (CAS) zostały przestarzałe we wszystkich wersjach .NET Framework i .NET. Najnowsze wersje platformy .NET nie honorują adnotacji CAS i generują błędy, jeśli są używane interfejsy API związane z usługą CAS. Deweloperzy powinni szukać alternatywnych sposobów wykonywania zadań zabezpieczeń.

Dotyczy