CFMessagePort.SetDispatchQueue(DispatchQueue) Method
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.
Schedules this local port's callbacks on a dispatch queue.
public void SetDispatchQueue(CoreFoundation.DispatchQueue? queue);
member this.SetDispatchQueue : CoreFoundation.DispatchQueue -> unit
Parameters
- queue
- DispatchQueue
The dispatch queue to use, or null to stop using the current queue.
Remarks
A port cannot use both a dispatch queue and a run loop source. Calling this method on a remote or invalid port has no effect.