共用方式為


RcsManager.GetTransportAsync(String) 方法

定義

取得指定之傳輸識別碼的 RcsTransport 實例。

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

參數

transportId
String

Platform::String

winrt::hstring

要擷取之傳輸的識別碼。

傳回

transportId參數所指定的傳輸實例。

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

適用於