Language

CFMessagePort.CreateRemotePort(CFAllocator, String) Method

Definition

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.

Applies to