Edit

Share via


DispatchSource.VnodeMonitor Constructors

Definition

Overloads

DispatchSource.VnodeMonitor(IntPtr)
DispatchSource.VnodeMonitor(IntPtr, Boolean)
DispatchSource.VnodeMonitor(Int32, VnodeMonitorKind, DispatchQueue)

Creates a VNode monitor for the specified file descriptor to monitor the specified set of events on it.

DispatchSource.VnodeMonitor(String, VnodeMonitorKind, DispatchQueue)

Creates a VNode monitor for the specified file path to monitor the specified set of events on it.

DispatchSource.VnodeMonitor(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.VnodeMonitor(IntPtr, Boolean)

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

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to

DispatchSource.VnodeMonitor(Int32, VnodeMonitorKind, DispatchQueue)

Creates a VNode monitor for the specified file descriptor to monitor the specified set of events on it.

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

Parameters

fileDescriptor
Int32

Unix file descriptor to monitor

vnodeKind
VnodeMonitorKind

The kind of monitoring to perform.

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.VnodeMonitor(String, VnodeMonitorKind, DispatchQueue)

Creates a VNode monitor for the specified file path to monitor the specified set of events on it.

public VnodeMonitor (string path, CoreFoundation.VnodeMonitorKind vnodeKind, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.VnodeMonitor : string * CoreFoundation.VnodeMonitorKind * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.VnodeMonitor

Parameters

path
String

Path to a file to monitor.

vnodeKind
VnodeMonitorKind

The kind of monitoring to perform.

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