 | IMailSpoolDeleteMessageAsync Method |
Asynchronously mark the specified message for deletion.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxTask DeleteMessageAsync(
int index,
CancellationToken cancellationToken = default
)
Parameters
- index Int32
- The index of the message.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Remarks
See Also