Dela via


EmailMailbox.GetMessageAsync(String) Method

Definition

Asynchronously gets the specified email message.

public:
 virtual IAsyncOperation<EmailMessage ^> ^ GetMessageAsync(Platform::String ^ id) = GetMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMessage> GetMessageAsync(winrt::hstring const& id);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMessage> GetMessageAsync(string id);
function getMessageAsync(id)
Public Function GetMessageAsync (id As String) As IAsyncOperation(Of EmailMessage)

Parameters

id
String

Platform::String

winrt::hstring

The ID of the message to retrieve.

Returns

The email message specified in the id parameter.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to