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.
Enables the host to block specific managed classes, methods, properties, and fields from running in partially trusted code.
interface ICLRHostProtectionManager : IUnknown {
HRESULT SetEagerSerializeGrantSets ();
HRESULT SetProtectedCategories (
[in] EApiCategories categories
);
}
Methods
Method |
Description |
---|---|
ICLRHostProtectionManager::SetEagerSerializeGrantSets Method |
Provides a guarantee that certain rare race conditions that can cause fatal common language runtime (CLR) errors will never arise. |
Specifies the categories of managed types and members that should be blocked from running in partially trusted code. |
Requirements
Platforms: See .NET Framework System Requirements.
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0