Freigeben über


ICLRMemoryNotificationCallback Interface

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

interface ICLRMemoryNotificationCallback : IUnknown {
    HRESULT OnMemoryNotification (
        [in] EMemoryAvailable eMemoryAvailable
    );
}

Methods

Method

Description

ICLRMemoryNotificationCallback::OnMemoryNotification Method

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

Remarks

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

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

IHostMemoryManager Interface

Hosting Interfaces