Edit

Share via


CFMessagePort.CreateRunLoopSource Method

Definition

Creates a CFRunLoopSource object for a CFMessagePort object.

public CoreFoundation.CFRunLoopSource CreateRunLoopSource ();
member this.CreateRunLoopSource : unit -> CoreFoundation.CFRunLoopSource

Returns

The new CFRunLoopSource object for listening port

Remarks

Method returns loop which is not added to any run loop. Use AddSource(CFRunLoopSource, NSString) to activate the loop.

Applies to