Share via


ChatMessage.TransportId Property

Definition

Gets or sets the transport ID of the message.

public:
 property Platform::String ^ TransportId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring TransportId();

void TransportId(winrt::hstring value);
public string TransportId { get; set; }
var string = chatMessage.transportId;
chatMessage.transportId = string;
Public Property TransportId As String

Property Value

String

Platform::String

winrt::hstring

The transport ID of the message.

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

Setting this property assigns the transport, SIM slot, to use for sending the chat message. Querying this property will identify the transport that the message was received on or is currently set for sending.

The value for TransportId is the string representation of the SIM slot number.

Applies to