EmailStore.GetMessageAsync(String) Method

Definition

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

The identifier for the email message.

Returns

IAsyncOperation<EmailMessage>

The specified email message.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to