IAsyncImapClient.BackupAsync
Contents
[
Hide
]BackupAsync(ImapFolderInfoCollection, Stream, BackupSettings, IConnection, CancellationToken)
Backups the content of the specified folders
public Task BackupAsync(ImapFolderInfoCollection folders, Stream stream, BackupSettings options,
IConnection connection = null, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | ImapFolderInfoCollection | Connection to a server |
folders | Stream | A folders to backup |
stream | BackupSettings | A stream to write into |
options | IConnection | A backup options |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class BackupSettings
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
BackupAsync(ImapFolderInfoCollection, string, BackupSettings, IConnection, CancellationToken)
Backups the content of the specified folders
public Task BackupAsync(ImapFolderInfoCollection folders, string fileName, BackupSettings options,
IConnection connection = null, CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | ImapFolderInfoCollection | Connection to a server |
folders | String | A folders to backup |
fileName | BackupSettings | A path to the presonal storage file |
options | IConnection | A backup options |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapFolderInfoCollection
- class BackupSettings
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email