EmailMailboxDeleteFolderRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Details of a request to delete a folder.
public ref class EmailMailboxDeleteFolderRequest 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 EmailMailboxDeleteFolderRequest 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 EmailMailboxDeleteFolderRequest
Public NotInheritable Class EmailMailboxDeleteFolderRequest
- Inheritance
- 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 DeleteFolderRequested event handler. Use the instance of this class returned by the EmailMailboxDeleteFolderRequestEventArgs.Request property.
Properties
EmailFolderId |
Gets the folder ID of the folder to be deleted. |
EmailMailboxId |
Gets the mailbox identifier for the mailbox where the folder will be deleted. |
Methods
ReportCompletedAsync() |
Informs the email client that the request was processed successfully. Successful completion of the asynchronous operation indicates that the folder was deleted successfully. |
ReportFailedAsync(EmailMailboxDeleteFolderStatus) |
Informs the client that the request was not processed successfully. Successful completion of the asynchronous action indicates that the status parameter's value reports the reason for failure. |