ICLROnEventManager Interface

Provides methods that allow the host to register and unregister callbacks for common language runtime (CLR) events.

Method

Description

ICLROnEventManager::RegisterActionOnEvent Method

Registers a callback pointer for the specified event.

ICLROnEventManager::UnregisterActionOnEvent Method

Unregisters a previously registered callback pointer for the specified event.

To register and unregister event callbacks, the host gets a reference to ICLROnEventManager by calling the ICLRControl::GetCLRManager method.

Note Note

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.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft