EmailMailboxDownloadAttachmentRequest
EmailMailboxDownloadAttachmentRequest
EmailMailboxDownloadAttachmentRequest
EmailMailboxDownloadAttachmentRequest
Class
Definition
Details of a request to download an attachment.
public : sealed class EmailMailboxDownloadAttachmentRequest : IEmailMailboxDownloadAttachmentRequestpublic sealed class EmailMailboxDownloadAttachmentRequest : IEmailMailboxDownloadAttachmentRequestPublic NotInheritable Class EmailMailboxDownloadAttachmentRequest Implements IEmailMailboxDownloadAttachmentRequest// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
Used in your DownloadAttachmentRequest event handler. Use the instance of this class returned by the EmailMailboxDownloadAttachmentRequestEventArgs.Request property.
Properties
EmailAttachmentId EmailAttachmentId EmailAttachmentId EmailAttachmentId
Gets the attachment ID of the attachment to be downloaded.
public : PlatForm::String EmailAttachmentId { get; }public string EmailAttachmentId { get; }Public ReadOnly Property EmailAttachmentId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The ID of the attachment. Use the EmailAttachment.Id value for the attachment you want to download.
EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId
Gets the email mailbox ID.
public : PlatForm::String EmailMailboxId { get; }public string EmailMailboxId { get; }Public ReadOnly Property EmailMailboxId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The mailbox ID of the mailbox that holds the attachment.
EmailMessageId EmailMessageId EmailMessageId EmailMessageId
Gets the email message ID of the message associated with the attachment.
public : PlatForm::String EmailMessageId { get; }public string EmailMessageId { get; }Public ReadOnly Property EmailMessageId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The email message ID.
Methods
ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync()
Informs the email client that the request was processed successfully.
Successful completion of the asynchronous operation indicates that the attachment was downloaded successfully.
public : IAsyncAction ReportCompletedAsync()public IAsyncAction ReportCompletedAsync()Public Function ReportCompletedAsync() As IAsyncAction// You can use this method in JavaScript.
An asynchronous download operation on an EmailMailboxDownloadAttachmentRequest object.
ReportFailedAsync() ReportFailedAsync() ReportFailedAsync() ReportFailedAsync()
Informs the client that the request was not processed successfully.
public : IAsyncAction ReportFailedAsync()public IAsyncAction ReportFailedAsync()Public Function ReportFailedAsync() As IAsyncAction// You can use this method in JavaScript.
An asynchronous download operation on an EmailMailboxDownloadAttachmentRequest.