ChatMessage.TransportId 屬性

定義

取得或設定訊息的傳輸識別碼。

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

屬性值

String

Platform::String

winrt::hstring

訊息的傳輸識別碼。

Windows 需求

應用程式功能
chat chatSystem smsSend

備註

設定此屬性會指派傳輸、SIM 卡位置,以用於傳送聊天訊息。 查詢此屬性將會識別訊息在上接收或目前設定為傳送的傳輸。

TransportId 的值是 SIM 插槽號碼的字串表示。

適用於