Imap.DownloadFoldersAsync Method
ImapDownloadFoldersAsync Method

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public Task<FolderCollection> DownloadFoldersAsync()

Return Value

Type: TaskFolderCollection
A task that represents the asynchronous operation. The value of TResult parameter is FolderCollection object if the folder list was downloaded successfully; otherwise, a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also