CopyItemAsync
IAsyncEwsClient.CopyItemAsync method
将项目复制到指定文件夹
public Task<string> CopyItemAsync(string itemUri, string destinationFolderUri,
CancellationToken cancellationToken = default)
| 范围 | 类型 | 描述 |
|---|---|---|
| itemUri | String | 项目 URI |
| destinationFolderUri | String | 目标文件夹 URI |
| cancellationToken | CancellationToken | 取消令牌。 |
返回值
复制消息的 uri
例外
| 例外 | (健康)状况 |
|---|---|
| AsposeArgumentException | itemUri是无效的或者空的 |
| AsposeArgumentException | destinationFolderUri是无效的或者空的 |
也可以看看
- interface IAsyncEwsClient
- 命名空间 Aspose.Email.Clients.Exchange.WebService
- 部件 Aspose.Email