EmailMailboxEmptyFolderRequest EmailMailboxEmptyFolderRequest EmailMailboxEmptyFolderRequest EmailMailboxEmptyFolderRequest Class

Definition

Details of a request to download an email message.

public : sealed class EmailMailboxEmptyFolderRequest : IEmailMailboxEmptyFolderRequestpublic sealed class EmailMailboxEmptyFolderRequest : IEmailMailboxEmptyFolderRequestPublic NotInheritable Class EmailMailboxEmptyFolderRequest Implements IEmailMailboxEmptyFolderRequest// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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

Properties

EmailFolderId EmailFolderId EmailFolderId EmailFolderId

Gets the folder ID of the folder to be emptied.

public : PlatForm::String EmailFolderId { get; }public string EmailFolderId { get; }Public ReadOnly Property EmailFolderId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The folder ID.

EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId

Gets the mailbox ID of the mailbox that holds the folder.

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.

Methods

ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync()

Informs the email client that the request was processed successfully.

Successful completion of the asynchronous operation indicates that the folder was emptied successfully.

public : IAsyncAction ReportCompletedAsync()public IAsyncAction ReportCompletedAsync()Public Function ReportCompletedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns

An asynchronous empty operation on an EmailMailboxEmptyFolderRequest object.

ReportFailedAsync(EmailMailboxEmptyFolderStatus) ReportFailedAsync(EmailMailboxEmptyFolderStatus) ReportFailedAsync(EmailMailboxEmptyFolderStatus) ReportFailedAsync(EmailMailboxEmptyFolderStatus)

Informs the client that the request was not processed successfully.

On the successful completion of the async operation, the status parameter is set to the current status of the folder in question.

public : IAsyncAction ReportFailedAsync(EmailMailboxEmptyFolderStatus status)public IAsyncAction ReportFailedAsync(EmailMailboxEmptyFolderStatus status)Public Function ReportFailedAsync(status As EmailMailboxEmptyFolderStatus) As IAsyncAction// You can use this method in JavaScript.
Parameters
status
EmailMailboxEmptyFolderStatus EmailMailboxEmptyFolderStatus EmailMailboxEmptyFolderStatus EmailMailboxEmptyFolderStatus

The status of the folder, following the failed attempt to empty it.

Returns