ICLRHostProtectionManager Interface

Enables the host to block specific managed classes, methods, properties, and fields from running in partially trusted code.


Method Description
SetEagerSerializeGrantSets Provides a guarantee that certain rare race conditions that can cause fatal common language runtime (CLR) errors will never arise.
SetProtectedCategories Method Specifies the categories of managed types and members that should be blocked from running in partially trusted code.


Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See Also

EApiCategories Enumeration
ICLRControl Interface