หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Provides methods that allow the host to register and unregister callbacks for common language runtime (CLR) events.
Methods
| Method | Description |
|---|---|
| RegisterActionOnEvent Method | Registers a callback pointer for the specified event. |
| UnregisterActionOnEvent Method | 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.
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.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0