EmailMailboxDownloadMessageRequest
EmailMailboxDownloadMessageRequest
EmailMailboxDownloadMessageRequest
EmailMailboxDownloadMessageRequest
Class
Definition
Details of a request to download an email message.
public : sealed class EmailMailboxDownloadMessageRequest : IEmailMailboxDownloadMessageRequestpublic sealed class EmailMailboxDownloadMessageRequest : IEmailMailboxDownloadMessageRequestPublic NotInheritable Class EmailMailboxDownloadMessageRequest Implements IEmailMailboxDownloadMessageRequest// 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 DownloadMessageRequest event handler. Use the instance of this class returned by the EmailMailboxDownloadMessageRequestEventArgs.Request property.
Properties
EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId
Gets the mailbox ID for the mailbox that holds the message to be downloaded.
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
A mailbox ID.
EmailMessageId EmailMessageId EmailMessageId EmailMessageId
Gets the message ID of the message to be downloaded.
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
A 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 message 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 EmailMailboxDownloadMessageRequest 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 EmailMailboxDownloadMessageRequest.