Edit

Share via


DispatchSource.ReadMonitor Constructors

Definition

Overloads

DispatchSource.ReadMonitor(IntPtr)
DispatchSource.ReadMonitor(Int32, DispatchQueue)

Creates a file descriptor read monitor.

DispatchSource.ReadMonitor(IntPtr, Boolean)

DispatchSource.ReadMonitor(IntPtr)

public ReadMonitor (IntPtr handle);
new CoreFoundation.DispatchSource.ReadMonitor : nativeint -> CoreFoundation.DispatchSource.ReadMonitor

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.ReadMonitor(Int32, DispatchQueue)

Creates a file descriptor read monitor.

public ReadMonitor (int fileDescriptor, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.ReadMonitor : int * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.ReadMonitor

Parameters

fileDescriptor
Int32
queue
DispatchQueue

The target queue for this dispatch source object.   Pass null to use the default target queue (the default priority global concurrent queue).

Applies to

DispatchSource.ReadMonitor(IntPtr, Boolean)

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

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to