 | IMailFolderExpungeAsync(CancellationToken) Method |
Asynchronously expunge the folder, permanently removing all messages marked for deletion.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxTask ExpungeAsync(
CancellationToken cancellationToken = default
)
Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions
RemarksAsynchronously expunges the folder, permanently removing all messages marked for deletion.
See Also