Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Describes the common language runtime (CLR) events for which the host can register callbacks.
Syntax
typedef enum {
Event_ClrDisabled,
Event_DomainUnload,
Event_MDAFired,
Event_StackOverflow
} EClrEvent;
Members
| Member | Description |
|---|---|
Event_ClrDisabled |
Specifies a fatal CLR error. |
Event_DomainUnload |
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: See System Requirements.
Header: MSCorEE.h
Library: MSCorEE.dll
.NET Framework Versions: Available since 2.0