ChatMessage.TransportId ChatMessage.TransportId ChatMessage.TransportId ChatMessage.TransportId ChatMessage.TransportId Property

Definition

Gets or sets the transport ID of the message.

public : Platform::String TransportId { get; set; }
winrt::hstring TransportId();

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

Property Value

string string string

The transport ID of the message.

Additional features and requirements

Capabilities
chat smsSend chatSystem

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.