 | IMailSpoolGetMessageCountAsync Method |
Asynchronously get the message count.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxTask<int> GetMessageCountAsync(
CancellationToken cancellationToken = default
)
Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskInt32The message count.
Remarks
Asynchronously gets the message count.
See Also