Delen via


EClrUnhandledException Enumeration

Describes the available options for managing exceptions that are unhandled in user code.

typedef enum {
    eRuntimeDeterminedPolicy,
    eHostDeterminedPolicy
} EClrUnhandledException;

Members

Member

Description

eRuntimeDeterminedPolicy

Specifies that the default behavior occurs. The process is torn down.

eHostDeterminedPolicy

Specifies that the common language runtime (CLR) ignores unhandled exceptions and lets the host determine any further action.

Remarks

To specify that the CLR behave like earlier versions, use the eHostDeterminedPolicy member.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: MSCorEE.dll

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

See Also

Reference

EClrFailure Enumeration

EClrOperation Enumeration

ICLRPolicyManager Interface

ICLRPolicyManager::SetUnhandledExceptionPolicy Method

IHostPolicyManager Interface

Other Resources

Hosting Enumerations