EwsDownloadItemsAsync Method (FolderId, Boolean)
Async/await version of DownloadItems(FolderId, Boolean).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<EwsItemList> DownloadItemsAsync(
	FolderId id,
	bool unreadOnly
)

Parameters

id
Type: FolderId
unreadOnly
Type: SystemBoolean

Return Value

Type: TaskEwsItemList
A task that represents the asynchronous operation. The value of TResult parameter points to EwsItemList object which represents the list of all/unread items in the given folder, or a null reference (Nothing in Visual Basic) on error.
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 DownloadItems(FolderId, Boolean) instead.
See Also