CFMessagePort.CreateRunLoopSource 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.
Creates a run loop source that delivers messages to this local port.
public CoreFoundation.CFRunLoopSource CreateRunLoopSource();
member this.CreateRunLoopSource : unit -> CoreFoundation.CFRunLoopSource
Returns
A new run loop source that has not yet been added to a run loop.
Remarks
Add the returned source to a run loop with AddSource(CFRunLoopSource, NSString). A port cannot use both a run loop source and a dispatch queue.