TypeDescriptorPermissionFlags 열거형
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
Code Access Security is not supported or honored by the runtime.
형식 설명자에 대한 권한 설정을 정의합니다.
이 열거형은 멤버 값의 비트 조합을 지원합니다.
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
- 상속
- 특성
필드
Name | 값 | Description |
---|---|---|
NoFlags | 0 | 형식 설명자에 대한 권한 플래그가 설정되지 않습니다. |
RestrictedRegistrationAccess | 1 | 부분 신뢰 코드에서 형식 설명자를 호출할 수 있습니다. |
설명
주의
CAS(코드 액세스 보안)는 .NET Framework 및 .NET의 모든 버전에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 대체 수단을 찾아야 합니다.