DispatchSource.MemoryPressure Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DispatchSource.MemoryPressure(IntPtr) | |
DispatchSource.MemoryPressure(MemoryPressureFlags, DispatchQueue) | |
DispatchSource.MemoryPressure(IntPtr, Boolean) |
DispatchSource.MemoryPressure(IntPtr)
public MemoryPressure (IntPtr handle);
new CoreFoundation.DispatchSource.MemoryPressure : nativeint -> CoreFoundation.DispatchSource.MemoryPressure
Parameters
- handle
-
IntPtr
nativeint
Applies to
DispatchSource.MemoryPressure(MemoryPressureFlags, DispatchQueue)
public MemoryPressure (CoreFoundation.MemoryPressureFlags monitorFlags = CoreFoundation.MemoryPressureFlags.Normal | CoreFoundation.MemoryPressureFlags.Warn, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.MemoryPressure : CoreFoundation.MemoryPressureFlags * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.MemoryPressure
Parameters
- monitorFlags
- MemoryPressureFlags
Memory pressure flags to monitor. The default just monitors memory pressure warnings and the return to normal.
- queue
- DispatchQueue
The target queue for this dispatch source object. Pass null to use the default target queue (the default priority global concurrent queue).