This documentation is archived and is not being maintained.

ICLRMemoryNotificationCallback Interface

Allows the host to report memory pressure conditions using an approach similar to that of the Win32 CreateMemoryResourceNotification function.



ICLRMemoryNotificationCallback::OnMemoryNotification Method

Notifies the common language runtime (CLR) of the memory load on the computer.

The host uses the ICLRMemoryNotificationCallback interface to request that the CLR free memory resources.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

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