Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides methods that allow the host to register and unregister callbacks for common language runtime (CLR) events.
interface ICLROnEventManager : IUnknown {
HRESULT RegisterActionOnEvent (
[in] EClrEvent event,
[in] IActionOnCLREvent *pAction
);
HRESULT UnregisterActionOnEvent (
[in] EClrEvent event,
[in] IActionOnCLREvent *pAction
);
}
Methods
Method |
Description |
---|---|
Registers a callback pointer for the specified event. |
|
Unregisters a previously registered callback pointer for the specified event. |
Remarks
To register and unregister event callbacks, the host gets a reference to ICLROnEventManager by calling the ICLRControl::GetCLRManager method.
![]() |
---|
The events described by EClrEvent can be fired more than once and from different threads to signal an unload or the disabling of the CLR. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Version: 2.0