ImapDownloadFoldersAsync Method (Boolean) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<FolderCollection> DownloadFoldersAsync(
bool subscribedOnly
)
Public Function DownloadFoldersAsync (
subscribedOnly As Boolean
) As Task(Of FolderCollection)
Parameters
- subscribedOnly
- Type: SystemBoolean
If true, only subscribed folders will be downloaded; otherwise, all the folders.
Return Value
Type:
TaskFolderCollectionA 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).
Exceptions See Also