EwsDownloadFolderById Method (FolderId, PropertySet)
Gets the reference to the folder with given ID in the MS Exchange account, also requesting the specified properties.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
Syntax
public EwsFolder DownloadFolderById(
	FolderId id,
	PropertySet propSet
)

Parameters

id
Type: FolderId
The folder's EWS ID.
propSet
Type: PropertySet
Extra properties of the folder to request from the Exchange server. If a null reference (Nothing in Visual Basic), basic properties are requested.

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). This particular overload is for advanced purposes if you need property set different from those provided by basic DownloadFolderById(FolderId) overload.

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