다음을 통해 공유


DispatchSource.MemoryPressure 생성자

정의

오버로드

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

매개 변수

handle
IntPtr

nativeint

적용 대상

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

매개 변수

monitorFlags
MemoryPressureFlags

모니터링할 메모리 압력 플래그입니다.   기본값은 메모리 압력 경고 및 정상으로의 복귀를 모니터링합니다.

queue
DispatchQueue

이 디스패치 원본 개체의 대상 큐입니다.   기본 대상 큐(기본 우선 순위 전역 동시 큐)를 사용하도록 null을 전달합니다.

설명

적용 대상

DispatchSource.MemoryPressure(IntPtr, Boolean)

public MemoryPressure (IntPtr handle, bool owns);
new CoreFoundation.DispatchSource.MemoryPressure : nativeint * bool -> CoreFoundation.DispatchSource.MemoryPressure

매개 변수

handle
IntPtr

nativeint

owns
Boolean

적용 대상