ImapGetFolderSizeAsync Method

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<long> GetFolderSizeAsync()

Return Value

Type: TaskInt64
A task that represents the asynchronous operation. On success, the value of TResult parameter is the total size occupied by all messages in this folder; otherwise, -1.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also