다음을 통해 공유


EContextType 열거형

현재 실행 중인 스레드의 보안 컨텍스트에 대해 설명합니다.

구문

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

멤버

멤버 Description
eCurrentContext CLR(공용 언어 런타임)이 IHostSecurityManager::GetSecurityContext 메서드를 호출할 때 현재 스레드의 컨텍스트 또는 IHostSecurityManager::SetSecurityContext 메서드에 대한 호출에서 CLR에서 요청한 컨텍스트를 나타냅니다.
eRestrictedContext 호스트에 가비지 수집기 또는 클래스 또는 모듈 생성자와 같은 낮은 권한이 있는 컨텍스트를 나타냅니다.

설명

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

요구 사항

플랫폼:시스템 요구 사항을 참조하세요.

헤더: MSCorEE.h

라이브러리: MSCorEE.dll

.NET Framework 버전: 2.0부터 사용 가능

참고 항목