إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Describes the security context of the currently executing thread.
Syntax
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, or the context requested by the CLR in a call to the IHostSecurityManager::SetSecurityContext 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 and IHostSecurityManager::SetSecurityContext methods.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.