Ews.MoveItemAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
MoveItemAsync(EwsItemId, EwsFolderId, Object)
Begins asynchronous MoveItem operation. Moves an item to specified exchange folder.
Declaration
public Task<EwsItemId> MoveItemAsync(EwsItemId itemId, EwsFolderId folderId, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsItemId | itemId | Id of an item to move.  | 
    
| EwsFolderId | folderId | Id of a folder to which to move the item.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsItemId> | EwsMessageInfo of the moved item.  |