Ews.MoveFolderAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9448)
MoveFolderAsync(EwsFolderId, EwsFolderId, Object)
Begins asynchronous MoveFolder operation. Moves an exchange folder with its content into another exchange folder.
Declaration
public Task<EwsFolderId> MoveFolderAsync(EwsFolderId folderId, EwsFolderId targetFolderId, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to move. |
| EwsFolderId | targetFolderId | ID of a folder where to move the folder. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task<EwsFolderId> | EwsFolderId of the moved exchange folder. |