EmailMailbox.MarkMessageAsSeenAsync(String) Method

Definition

Asynchronously marks an email message as seen.

public:
 virtual IAsyncAction ^ MarkMessageAsSeenAsync(Platform::String ^ messageId) = MarkMessageAsSeenAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessageAsSeenAsync(winrt::hstring const& messageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessageAsSeenAsync(string messageId);
function markMessageAsSeenAsync(messageId)
Public Function MarkMessageAsSeenAsync (messageId As String) As IAsyncAction

Parameters

messageId
String

Platform::String

winrt::hstring

The ID of the message to mark as seen.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to