Share via


ChatMessageStore.MarkMessageReadAsync(String) Method

Definition

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.

Applies to