EwsDownloadFolderById Method (FolderId)
Gets the reference to the folder with given ID in the MS Exchange account.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public EwsFolder DownloadFolderById(
	FolderId id
)

Parameters

id
Type: FolderId
The folder's EWS ID.

Return Value

Type: EwsFolder
The EwsFolder object if the folder exists; otherwise, a null reference (or if an error occurred and ThrowExceptions is false).
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks

This method is useful if you need to get info for special folders like Sent Items (such as via passing folder's WellKnownFolderName). See Ews topic for example.

This overload requests basic folder info (so-called First Class Properties) and also folder names (and also folder size if CalculateFolderSizeOnDownload is true).

Note Note
This method is not implemented in .NET Core. Use DownloadFolderByIdAsync(FolderId) instead.
See Also