共用方式為


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

EClrEvent Enumeration

ICLRControl Interface

ICLROnEventManager Interface

Hosting Interfaces