DispatchSource.MachReceive 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.MachReceive(IntPtr) | |
DispatchSource.MachReceive(Int32, DispatchQueue) |
Creates a dispatch source that monitors the specified mach port for message availability. |
DispatchSource.MachReceive(IntPtr, Boolean) |
DispatchSource.MachReceive(IntPtr)
public MachReceive (IntPtr handle);
new CoreFoundation.DispatchSource.MachReceive : nativeint -> CoreFoundation.DispatchSource.MachReceive
Parameters
- handle
-
IntPtr
nativeint
Applies to
DispatchSource.MachReceive(Int32, DispatchQueue)
Creates a dispatch source that monitors the specified mach port for message availability.
public MachReceive (int machPort, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.MachReceive : int * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.MachReceive
Parameters
- machPort
- Int32
Mach port to monitor for incoming data.
- queue
- DispatchQueue
The target queue for this dispatch source object. Pass null to use the default target queue (the default priority global concurrent queue).