EwsDownloadItemAsync Method (ItemId, PropertySet)
Async/await version of DownloadItem(ItemId, PropertySet).

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

Parameters

id
Type: ItemId
properties
Type: PropertySet

Return Value

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