EwsMoveItemAsync Method
Async/await version of MoveItem(ItemId, FolderId).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<ItemId> MoveItemAsync(
	ItemId movedItemId,
	FolderId targetFolderId
)

Parameters

movedItemId
Type: ItemId
targetFolderId
Type: FolderId

Return Value

Type: TaskItemId
A task that represents the asynchronous operation. The value of TResult parameter points to the ID of the new item if succeeded; otherwise, a null reference (Nothing in Visual Basic).
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 MoveItem(ItemId, FolderId) instead.
See Also