Share via


EClrEvent Enumeration

Describes the common language runtime (CLR) events for which the host can register callbacks.

typedef enum {
    Event_ClrDisabled,
    Event_DomainUnload,
    Event_MDAFired,
    Event_StackOverflow
} EClrEvent;

Members

Member

Description

Event_ClrDisabled

Specifies a fatal CLR error.

Event_ClrDomainUnload

Specifies the unloading of a particular AppDomain.

Event_MDAFired

Specifies that a Managed Debugging Assistant (MDA) message has been generated.

Event_StackOverflow

Specifies that a stack overflow error has occurred.

Remarks

The host can register callbacks for any of the event types described by EClrEvent by calling methods of the ICLROnEventManager interface. The host gets a pointer to this interface by calling the ICLRControl::GetCLRManager method.

The Event_CLRDisabled and Event_DomainUnload events can be raised more than once and from different threads to signal an unload or the disabling of the CLR.

The Event_MDAFired event raises the creation of an MDAInfo instance that contains the details of the MDA message. For more information about MDAs, see Diagnosing Errors with Managed Debugging Assistants.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

IActionOnCLREvent Interface

ICLRControl Interface

Hosting Enumerations