IActionOnCLREvent Interface

Provides the IActionOnCLREvent::OnEvent method, which performs callbacks on events that have been registered by using a call to the ICLROnEventManager::RegisterActionOnEvent method.

interface IActionOnCLREvent : IUnknown {
    HRESULT OnEvent (
        [in] EClrEvent event,
        [in] PVOID data 
    );
};

Methods

Method

Description

IActionOnCLREvent::OnEvent Method

Performs a callback for a registered event.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

EClrEvent Enumeration

ICLRControl Interface

ICLROnEventManager Interface

Other Resources

Hosting Interfaces