Share via


ChatMessageManager.GetTransportAsync(String) Method

Definition

Asynchronously gets theChatMessageTransport.

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)

Parameters

transportId
String

Platform::String

winrt::hstring

The locally unique identifier for the message transport.

Returns

The message transport.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Applies to