Share via


EmailMailboxEmptyFolderStatus Enum

Definition

Indicates the result of a call to TryEmptyFolderAsync.

public enum class EmailMailboxEmptyFolderStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class EmailMailboxEmptyFolderStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum EmailMailboxEmptyFolderStatus
var value = Windows.ApplicationModel.Email.EmailMailboxEmptyFolderStatus.success
Public Enum EmailMailboxEmptyFolderStatus
Inheritance
EmailMailboxEmptyFolderStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)
App capabilities
email emailSystem

Fields

Name Value Description
Success 0

The folder was successfully emptied.

NetworkError 1

There was a network error while trying to empty the folder.

PermissionsError 2

There was a permissions error while trying to empty the folder.

ServerError 3

There was a server error while trying to empty the folder.

UnknownFailure 4

There was an unknown error while trying to empty the folder.

CouldNotDeleteEverything 5

An error occurred while deleting parts of the folder.

Applies to