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