Share via


EmailMailboxDownloadAttachmentRequest Class

Definition

Details of a request to download an attachment.

public ref class EmailMailboxDownloadAttachmentRequest 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 EmailMailboxDownloadAttachmentRequest 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 EmailMailboxDownloadAttachmentRequest
Public NotInheritable Class EmailMailboxDownloadAttachmentRequest
Inheritance
Object Platform::Object IInspectable EmailMailboxDownloadAttachmentRequest
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 DownloadAttachmentRequest event handler. Use the instance of this class returned by the EmailMailboxDownloadAttachmentRequestEventArgs.Request property.

Properties

EmailAttachmentId

Gets the attachment ID of the attachment to be downloaded.

EmailMailboxId

Gets the email mailbox ID.

EmailMessageId

Gets the email message ID of the message associated with the attachment.

Methods

ReportCompletedAsync()

Informs the email client that the request was processed successfully.

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

ReportFailedAsync()

Informs the client that the request was not processed successfully.

Applies to