Share via


TypeDescriptorPermissionFlags 열거형

정의

주의

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

형식 설명자에 대한 권한 설정을 정의합니다.

이 열거형은 멤버 값의 비트 조합을 지원합니다.

public enum class 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}")]
public enum TypeDescriptorPermissionFlags
[System.Flags]
[System.Serializable]
public enum TypeDescriptorPermissionFlags
[<System.Flags>]
type 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 = 
Public Enum TypeDescriptorPermissionFlags
상속
TypeDescriptorPermissionFlags
특성

필드

NoFlags 0

형식 설명자에 대한 권한 플래그가 설정되지 않습니다.

RestrictedRegistrationAccess 1

부분 신뢰 코드에서 형식 설명자를 호출할 수 있습니다.

설명

주의

CAS(코드 액세스 보안)는 .NET Framework 및 .NET의 모든 버전에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 대체 수단을 찾아야 합니다.

적용 대상