共用方式為


ChatMessageManager.GetTransportAsync(String) 方法

定義

以非同步方式取得ChatMessageTransport

public:
 static IAsyncOperation<ChatMessageTransport ^> ^ GetTransportAsync(Platform::String ^ transportId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatMessageTransport> GetTransportAsync(winrt::hstring const& transportId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatMessageTransport> GetTransportAsync(string transportId);
function getTransportAsync(transportId)
Public Shared Function GetTransportAsync (transportId As String) As IAsyncOperation(Of ChatMessageTransport)

參數

transportId
String

Platform::String

winrt::hstring

訊息傳輸的本機唯一識別碼。

傳回

訊息傳輸。

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

適用於