ChatMessage.TransportId 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 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
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.