Share via


EmailMailbox.DownloadMessageAsync(String) Method

Definition

Asynchronously downloads the specified email message.

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

Parameters

messageId
String

Platform::String

winrt::hstring

The ID of the message to download.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to