Sdílet prostřednictvím


ICLRMemoryNotificationCallback Interface

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

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: 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

See Also

Reference

IHostMemoryManager Interface

Other Resources

Hosting Interfaces