ChatConversation.MarkMessagesAsReadAsync 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.
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)
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
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