ImapDownloadFoldersAsync Method (Boolean) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic 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