Dela via


EmailFolder.GetMessageAsync(String) Method

Definition

Asynchronously gets the specified message from the folder.

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 message specified in the id parameter.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to