| IMailFolderExpungeAsync(IListUniqueId, CancellationToken) Method |
Asynchronously expunge the specified uids, permanently removing them from the folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task ExpungeAsync(
IList<UniqueId> uids,
CancellationToken cancellationToken = default
)
Parameters
- uids IListUniqueId
- The message uids.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Remarks Asynchronously expunges the specified uids, permanently removing them from the folder.
See Also