Dela via


ChatMessageManager.GetTransportsAsync Method

Definition

Asynchronously gets the chat message transports available on the device.

public:
 static IAsyncOperation<IVectorView<ChatMessageTransport ^> ^> ^ GetTransportsAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<ChatMessageTransport>> GetTransportsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<ChatMessageTransport>> GetTransportsAsync();
function getTransportsAsync()
Public Shared Function GetTransportsAsync () As IAsyncOperation(Of IReadOnlyList(Of ChatMessageTransport))

Returns

An asynchronous operation that returns a list of transports on successful completion.

Attributes

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Applies to