EmailMailbox.MarkMessageReadAsync(String, Boolean) 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.
Asynchronously marks an email message as read or unread.
public:
virtual IAsyncAction ^ MarkMessageReadAsync(Platform::String ^ messageId, bool isRead) = MarkMessageReadAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessageReadAsync(winrt::hstring const& messageId, bool const& isRead);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessageReadAsync(string messageId, bool isRead);
function markMessageReadAsync(messageId, isRead)
Public Function MarkMessageReadAsync (messageId As String, isRead As Boolean) As IAsyncAction
Parameters
- messageId
-
String
Platform::String
winrt::hstring
The ID of the message to mark.
- isRead
-
Boolean
bool
True to mark the message as read, false to mark it as unread.
Returns
An async action indicating that the operation has completed.
- Attributes
Windows requirements
App capabilities |
email
emailSystem
|