Compartilhar 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

EClrFailure Enumeration

EClrOperation Enumeration

ICLRPolicyManager Interface

ICLRPolicyManager::SetUnhandledExceptionPolicy Method

IHostPolicyManager Interface

Hosting Enumerations