EwsDownloadFoldersAsync Method (FolderId, Boolean, Boolean)

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<List<EwsFolder>> DownloadFoldersAsync(
	FolderId parentFolderId,
	bool includeParentFolder,
	bool includeSubfolders
)

Parameters

parentFolderId
Type: FolderId
includeParentFolder
Type: SystemBoolean
includeSubfolders
Type: SystemBoolean

Return Value

Type: TaskListEwsFolder
A task that represents the asynchronous operation. The value of TResult parameter points to the list of sub-folders of RootFolderType folder (and their own sub-folders if includeSubfolders is true) if the method succeeds; 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, Boolean, Boolean) instead.
See Also