The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EClrEvent Enumeration

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

typedef enum {
} EClrEvent;

Member Description


Specifies a fatal CLR error.


Specifies the unloading of a particular AppDomain.


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


Specifies that a stack overflow error has occurred.

The host can register callbacks for any of the event types described by EClrEvent by calling methods of the ICLROnEventManager Interface interface. The host gets a pointer to this interface by calling the ICLRControl::GetCLRManager Method 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 Structure instance that contains the details of the MDA message. For more information about MDAs, see Diagnosing Errors with Managed Debugging Assistants.

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

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft