RcsManager.GetTransportAsync(String) Method

Definition

Gets an instance of RcsTransport for the specified transport ID.

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)

Parameters

transportId
String

Platform::String

winrt::hstring

The ID of the transport to retrieve.

Returns

An instance of the transport specified by the transportId parameter.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to