Share via


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

ICLRPolicyManager::SetActionOnFailure Method

Specifies the policy action the common language runtime (CLR) should take when the specified failure occurs.

ICLRPolicyManager::SetActionOnTimeout Method

Specifies the policy action the CLR should take when the specified operation times out.

ICLRPolicyManager::SetDefaultAction Method

Specifies the policy action the CLR should take when the specified operation occurs.

ICLRPolicyManager::SetTimeout Method

Sets a timeout value for the specified operation.

ICLRPolicyManager::SetTimeoutAndAction Method

Sets a timeout value for the specified operation, and specifies the policy action the CLR should take when the operation occurs.

ICLRPolicyManager::SetUnhandledExceptionPolicy Method

Specifies the behavior of the CLR when an unhandled exception occurs.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

EClrFailure Enumeration

EClrOperation Enumeration

EPolicyAction Enumeration

ICLRControl Interface