 | IMailFolderExpungeAsync(IListUniqueId, CancellationToken) Method |
Asynchronously expunge the specified uids, permanently removing them from the folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.12.1
SyntaxTask 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.
Exceptions
RemarksAsynchronously expunges the specified uids, permanently removing them from the folder.
See Also