ICLRPolicyManager Interface

 

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

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

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
ICLRControl Interface

Show: