Permalink
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (52 sloc) 2.83 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic api_name api_location api_type f1_keywords dev_langs helpviewer_keywords ms.assetid topic_type caps.latest.revision author ms.author manager
ICLRPolicyManager Interface
03/30/2017
.net-framework
dotnet-clr
reference
ICLRPolicyManager
mscoree.dll
COM
ICLRPolicyManager
C++
ICLRPolicyManager interface [.NET Framework hosting]
5c834aa1-f2db-408a-b230-c7bec093d364
apiref
7
rpetrusha
ronpet
wpickett

ICLRPolicyManager Interface

Provides methods that allow the host to specify policy actions to be taken in the event of failures and timeouts.

Methods

Method Description
SetActionOnFailure Method Specifies the policy action the common language runtime (CLR) should take when the specified failure occurs.
SetActionOnTimeout Method Specifies the policy action the CLR should take when the specified operation times out.
SetDefaultAction Method Specifies the policy action the CLR should take when the specified operation occurs.
SetTimeout Method Sets a timeout value for the specified operation.
SetTimeoutAndAction Method Sets a timeout value for the specified operation, and specifies the policy action the CLR should take when the operation occurs.
SetUnhandledExceptionPolicy Method Specifies the behavior of the CLR when an unhandled exception occurs.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v20plus]

See Also

EClrFailure Enumeration
EClrOperation Enumeration
EPolicyAction Enumeration
ICLRControl Interface