ChatMessageStore.GetMessageByRemoteIdAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for