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