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