Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the security context of the currently executing thread.
typedef enum {
eCurrentContext = 0x00,
eRestrictedContext = 0x01
} EContextType;
Members
Member | Description |
---|---|
eCurrentContext |
Indicates the context on the current thread at the time the common language runtime (CLR) calls the IHostSecurityManager::GetSecurityContext Method method, or the context requested by the CLR in a call to the IHostSecurityManager::SetSecurityContext Method method. |
eRestrictedContext |
Indicates a context over which the host has lower privileges, such as the garbage collector, or class or module constructors. |
Remarks
The CLR supplies one of the EContextType values as a parameter value in calls to the IHostSecurityManager::GetSecurityContext Method and IHostSecurityManager::SetSecurityContext Method methods.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: MSCorEE.idl
Library: MSCorEE.dll
.NET Framework Version: 2.0
See Also
Reference
IHostSecurityContext Interface
IHostSecurityManager Interface