EContextType 열거형

현재 실행되고 있는 스레드의 보안 컨텍스트를 설명합니다.

typedef enum {
    eCurrentContext    = 0x00,
    eRestrictedContext = 0x01
} EContextType;

멤버

멤버

설명

eCurrentContext

CLR(공용 언어 런타임에서) IHostSecurityManager::GetSecurityContext 메서드를 호출할 때 현재 스레드의 컨텍스트를 나타내거나 IHostSecurityManager::SetSecurityContext 메서드 호출에서 CLR이 요청하는 컨텍스트를 나타냅니다.

eRestrictedContext

호스트가 하위 권한을 갖는 컨텍스트(예: 가비지 수집기 또는 클래스 생성자나 모듈 생성자)를 나타냅니다.

설명

CLR은 IHostSecurityManager::GetSecurityContextIHostSecurityManager::SetSecurityContext 메서드 호출의 매개 변수 값으로 EContextType 값 중 하나를 제공합니다.

요구 사항

플랫폼: .NET Framework 시스템 요구 사항 참조

헤더: MSCorEE.h

라이브러리: MSCorEE.dll

.NET Framework 버전: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

참고 항목

참조

IHostSecurityContext 인터페이스

IHostSecurityManager 인터페이스

기타 리소스

호스팅 열거형