MemoryPressureFlags Enum

Definition

Memory pressure flags surfaced by the DispatchSource.MemoryPressure dispatch source.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum MemoryPressureFlags
type MemoryPressureFlags = 
Inheritance
MemoryPressureFlags
Attributes

Fields

Critical 4

The system memory pressure condition has changed to critical.

Normal 1

The system memory pressure condition has returned to normal.

Warn 2

The system memory pressure condition has changed to warning.

Remarks

Determins the reason for invoking a memory pressure handler, or to configure the memory pressure handler.

Applies to