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

适用于