EwsDownloadItem Method (ItemId, EwsItemParts) |
Namespace: MailBee.EwsMail
Exception | Condition |
---|---|
MailBeeException | An error occurred and ThrowExceptions is true. |
NotImplementedException | The .NET runtime is .NET Core. |
To get item IDs, you can use DownloadItemIds(FolderId, Boolean) or Search(FolderId, SearchFilter) methods and then pass Id of items of the returned list to the current method.
In advanced cases, you can store UniqueId string in database and later recreate ItemId object using #ctor(String) constructor. Then you can supply that object to this method. This is useful in case if you need to get IDs for items and items themselves at different times.
Note |
---|
This method is not implemented in .NET Core. Use DownloadItemAsync(ItemId, EwsItemParts) instead. |