CFMessagePort.Name Property
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.
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.