Share via


ChatMessageStore.GetMessageByRemoteIdAsync(String, String) Method

Definition

Gets a message by its remote ID.

public:
 virtual IAsyncOperation<ChatMessage ^> ^ GetMessageByRemoteIdAsync(Platform::String ^ transportId, Platform::String ^ remoteId) = GetMessageByRemoteIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatMessage> GetMessageByRemoteIdAsync(winrt::hstring const& transportId, winrt::hstring const& remoteId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatMessage> GetMessageByRemoteIdAsync(string transportId, string remoteId);
function getMessageByRemoteIdAsync(transportId, remoteId)
Public Function GetMessageByRemoteIdAsync (transportId As String, remoteId As String) As IAsyncOperation(Of ChatMessage)

Parameters

transportId
String

Platform::String

winrt::hstring

The TransportId to use to get the ChatMessage.

remoteId
String

Platform::String

winrt::hstring

The RemoteId of the ChatMessage to retrieve.

Returns

The message.

Attributes

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Applies to