ChatConversation.MarkMessagesAsReadAsync Method

Definition

Overloads

MarkMessagesAsReadAsync(DateTime)

Asynchronously marks all the messages in the conversation before the specified DateTime as read.

MarkMessagesAsReadAsync()

Asynchronously marks all the messages in the conversation as read.

MarkMessagesAsReadAsync(DateTime)

Asynchronously marks all the messages in the conversation before the specified DateTime as read.

public:
 virtual IAsyncAction ^ MarkMessagesAsReadAsync(DateTime value) = MarkMessagesAsReadAsync;
/// [Windows.Foundation.Metadata.Overload("MarkMessagesAsReadAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessagesAsReadAsync(DateTime const& value);
[Windows.Foundation.Metadata.Overload("MarkMessagesAsReadAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessagesAsReadAsync(System.DateTimeOffset value);
function markMessagesAsReadAsync(value)
Public Function MarkMessagesAsReadAsync (value As DateTimeOffset) As IAsyncAction

Parameters

value
DateTime DateTimeOffset

Mark all messages before this DateTime as read.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to

MarkMessagesAsReadAsync()

Asynchronously marks all the messages in the conversation as read.

public:
 virtual IAsyncAction ^ MarkMessagesAsReadAsync() = MarkMessagesAsReadAsync;
/// [Windows.Foundation.Metadata.Overload("MarkAllMessagesAsReadAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessagesAsReadAsync();
[Windows.Foundation.Metadata.Overload("MarkAllMessagesAsReadAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessagesAsReadAsync();
function markMessagesAsReadAsync()
Public Function MarkMessagesAsReadAsync () As IAsyncAction

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to