IAsyncEwsClient.BackupAsync
BackupAsync(ExchangeFolderInfoCollection, string, BackupOptions, CancellationToken)
Backups the content of the specified folders.
public Task BackupAsync(ExchangeFolderInfoCollection folders, string fileName,
BackupOptions options, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|
| folders | ExchangeFolderInfoCollection | The collection of folders to backup. |
| fileName | String | The path to the personal storage file. |
| options | BackupOptions | The backup options. |
| cancellationToken | CancellationToken | The cancellation token. |
Exceptions
See Also
BackupAsync(ExchangeFolderInfoCollection, Stream, BackupOptions, CancellationToken)
Backups the content of the specified folders.
public Task BackupAsync(ExchangeFolderInfoCollection folders, Stream stream, BackupOptions options,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|
| folders | ExchangeFolderInfoCollection | The collection of folders to backup. |
| stream | Stream | The stream to write into. |
| options | BackupOptions | The backup options. |
| cancellationToken | CancellationToken | The cancellation token. |
Exceptions
See Also