DispatchSource.VnodeMonitor 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.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)
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).