EmailMailboxDeleteFolderRequest
EmailMailboxDeleteFolderRequest
EmailMailboxDeleteFolderRequest
EmailMailboxDeleteFolderRequest
Class
Definition
Details of a request to delete a folder.
public : sealed class EmailMailboxDeleteFolderRequest : IEmailMailboxDeleteFolderRequestpublic sealed class EmailMailboxDeleteFolderRequest : IEmailMailboxDeleteFolderRequestPublic NotInheritable Class EmailMailboxDeleteFolderRequest Implements IEmailMailboxDeleteFolderRequest// 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 DeleteFolderRequested event handler. Use the instance of this class returned by the EmailMailboxDeleteFolderRequestEventArgs.Request property.
Properties
EmailFolderId EmailFolderId EmailFolderId EmailFolderId
Gets the folder ID of the folder to be deleted.
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 of the folder to be deleted.
EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId
Gets the mailbox identifier for the mailbox where the folder will be deleted.
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.
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 deleted successfully.
public : IAsyncAction ReportCompletedAsync()public IAsyncAction ReportCompletedAsync()Public Function ReportCompletedAsync() As IAsyncAction// You can use this method in JavaScript.
An asynchronous delete operation on an EmailMailboxDeleteFolderRequest object.
ReportFailedAsync(EmailMailboxDeleteFolderStatus) ReportFailedAsync(EmailMailboxDeleteFolderStatus) ReportFailedAsync(EmailMailboxDeleteFolderStatus) 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.
public : IAsyncAction ReportFailedAsync(EmailMailboxDeleteFolderStatus status)public IAsyncAction ReportFailedAsync(EmailMailboxDeleteFolderStatus status)Public Function ReportFailedAsync(status As EmailMailboxDeleteFolderStatus) As IAsyncAction// You can use this method in JavaScript.
- status
- EmailMailboxDeleteFolderStatus EmailMailboxDeleteFolderStatus EmailMailboxDeleteFolderStatus EmailMailboxDeleteFolderStatus
A EmailMailboxDeleteFolderStatus value indicating why the operation failed.
An asynchronous delete operation on an EmailMailboxDeleteFolderRequest object.