Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 2.09 KB

ihostpolicymanager-interface.md

File metadata and controls

47 lines (37 loc) · 2.09 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: IHostPolicyManager Interface
IHostPolicyManager Interface
03/30/2017
IHostPolicyManager
mscoree.dll
COM
IHostPolicyManager
IHostPolicyManager interface [.NET Framework hosting]
8c4aa124-5e00-46d9-b1e8-57ba6574bb0d
apiref

IHostPolicyManager Interface

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

Methods

Method Description
OnDefaultAction Method Notifies 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 xref:System.AppDomain unload.
OnFailure Method Notifies 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 Method Notifies the host that the CLR is about to take the action specified by a call to ICLRPolicyManager::SetActionOnTimeout in response to a timeout.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v20plus]

See also