Share via


EmailMailboxEmptyFolderRequest Class

Definition

Details of a request to download an email message.

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

Properties

EmailFolderId

Gets the folder ID of the folder to be emptied.

EmailMailboxId

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

Methods

ReportCompletedAsync()

Informs the email client that the request was processed successfully.

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

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.

Applies to