EwsDownloadFoldersAsync Method (FolderId, FolderView, SearchFilter, Boolean) |
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<List<EwsFolder>> DownloadFoldersAsync(
FolderId parentFolderId,
FolderView view,
SearchFilter filter,
bool includeParentFolder
)
Public Function DownloadFoldersAsync (
parentFolderId As FolderId,
view As FolderView,
filter As SearchFilter,
includeParentFolder As Boolean
) As Task(Of List(Of EwsFolder))
Parameters
- parentFolderId
- Type: FolderId
- view
- Type: FolderView
- filter
- Type: SearchFilter
- includeParentFolder
- Type: SystemBoolean
Return Value
Type:
TaskListEwsFolderA task that represents the asynchronous operation. The value of
TResult parameter points to the list of folders of the current MS Exchange account under
parentFolderId,
if the folder list was downloaded successfully; otherwise, a null reference (
Nothing in Visual Basic).
Exceptions Remarks See Also