ChatMessageStore.MarkMessageReadAsync(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.
Marks a specified message in the store as already read.
public:
virtual IAsyncAction ^ MarkMessageReadAsync(Platform::String ^ localChatMessageId) = MarkMessageReadAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessageReadAsync(winrt::hstring const& localChatMessageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessageReadAsync(string localChatMessageId);
function markMessageReadAsync(localChatMessageId)
Public Function MarkMessageReadAsync (localChatMessageId As String) As IAsyncAction
Parameters
- localChatMessageId
-
String
Platform::String
winrt::hstring
The local ID of the message to be marked as read.
Returns
An asynchronous action.
- Attributes
Windows requirements
App capabilities |
chat
blockedChatMessages
chatSystem
smsSend
|
Remarks
The IsRead property of the ChatMessage class matching the localMessageId parameter is set to "true" when this method completes.