IHostPolicyManager Interface

 

Provides methods that notify the host of the actions the common language runtime (CLR) performs in case of aborts, timeouts, or failures.

MethodDescription
OnDefaultAction MethodNotifies the host that the CLR is about to take the default action specified by a call to ICLRPolicyManager::SetDefaultAction in response to a thread abort or AppDomain unload.
OnFailure MethodNotifies the host that the CLR is about to take the action specified by a call to ICLRPolicyManager::SetActionOnFailure in response to a resource allocation or reclamation failure.
OnTimeout MethodNotifies the host that the CLR is about to take the action specified by a call to ICLRPolicyManager::SetActionOnTimeout in response to a timeout.

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

EClrFailure Enumeration
EClrOperation Enumeration
EPolicyAction Enumeration
ICLRPolicyManager Interface
Hosting Interfaces

Show: