CFMessagePort.CreateRemotePort(CFAllocator, String) 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 remote message port for sending messages to a named local port.
public static CoreFoundation.CFMessagePort? CreateRemotePort(CoreFoundation.CFAllocator? allocator, string name);
static member CreateRemotePort : CoreFoundation.CFAllocator * string -> CoreFoundation.CFMessagePort
Parameters
- allocator
- CFAllocator
The allocator to use, or null to use the default allocator.
- name
- String
The name of the local port.
Returns
A remote message port, or null if no valid local port with the specified name is available.
Exceptions
name is null.