EwsDownloadFoldersAsync Method (FolderId, FolderView, SearchFilter, Boolean)

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
Syntax
public Task<List<EwsFolder>> DownloadFoldersAsync(
	FolderId parentFolderId,
	FolderView view,
	SearchFilter filter,
	bool includeParentFolder
)

Parameters

parentFolderId
Type: FolderId
view
Type: FolderView
filter
Type: SearchFilter
includeParentFolder
Type: SystemBoolean

Return Value

Type: TaskListEwsFolder
A 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
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Framework.
Remarks
Note Note
This method is not implemented in .NET Framework. Use DownloadFolders(FolderId, FolderView, SearchFilter, Boolean) instead.
See Also