Share via


EmailMailboxDownloadMessageRequest Class

Definition

Details of a request to download an email message.

public ref class EmailMailboxDownloadMessageRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailMailboxDownloadMessageRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailMailboxDownloadMessageRequest
Public NotInheritable Class EmailMailboxDownloadMessageRequest
Inheritance
Object Platform::Object IInspectable EmailMailboxDownloadMessageRequest
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
email emailSystem

Remarks

Used in your DownloadMessageRequest event handler. Use the instance of this class returned by the EmailMailboxDownloadMessageRequestEventArgs.Request property.

Properties

EmailMailboxId

Gets the mailbox ID for the mailbox that holds the message to be downloaded.

EmailMessageId

Gets the message ID of the message to be downloaded.

Methods

ReportCompletedAsync()

Informs the email client that the request was processed successfully.

Successful completion of the asynchronous operation indicates that the message was downloaded successfully.

ReportFailedAsync()

Informs the client that the request was not processed successfully.

Applies to