EwsDownloadItemAsync Method (FolderId, Int32)
Async/await version of DownloadItem(FolderId, Int32).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<EwsItem> DownloadItemAsync(
	FolderId id,
	int index
)

Parameters

id
Type: FolderId
index
Type: SystemInt32

Return Value

Type: TaskEwsItem
A task that represents the asynchronous operation. The value of TResult parameter points to EwsItem object which represents the item 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 DownloadItem(FolderId, Int32) instead.
See Also