| IMailSpoolGetMessageSizesAsync Method |
Asynchronously get the sizes for all available messages, in bytes.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<IList<int>> GetMessageSizesAsync(
CancellationToken cancellationToken = default
)
Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskIListInt32The message sizes, in bytes.
Remarks
Asynchronously gets the sizes for all available messages, in bytes.
See Also