Language

CFMessagePort.Name Property

Definition

Gets or sets the registered name of the message port.

public string? Name { get; set; }
member this.Name : string with get, set

Property Value

The registered port name, or null if the port is unnamed.

Exceptions

The value being assigned is null.

Remarks

The setter does not report whether the name was changed. Use TrySetName(String) when the result is needed. Changing the name does not make an already scheduled unnamed local port able to receive messages.

Applies to