EMemoryAvailable 枚举

包含指示计算机上的可用物理内存容量的值。 这些值在逻辑上映射到从 Win32 API 中的 CreateMemoryResourceNotification 函数返回的反映内存高低的事件。

typedef enum {
    eMemoryAvailableLow     = 1,
    eMemoryAvailableNeutral = 2,
    eMemoryAvailableHigh    = 3 
} EMemoryAvailable;

成员

成员

说明

eMemoryAvailableHigh

可用的物理内存很多。

eMemoryAvailableLow

可用的物理内存非常少。

eMemoryAvailableNeutral

可用的物理内存适中。

备注

此值由宿主通过调用 ICLRMemoryNotificationCallback::OnMemoryNotification 方法传递到公共语言运行时 (CLR)。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**MSCorEE.h

**库:**MSCorEE.dll

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

其他资源

承载枚举