ImapClient.BackupAsync

BackupAsync(IConnection, ImapFolderInfoCollection, string, BackupSettings)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, string fileName, 
    BackupSettings options)
ParameterTypeDescription
connectionIConnectionConnection to a server
foldersImapFolderInfoCollectionA folders to backup
fileNameStringA path to the presonal storage file
optionsBackupSettingsA backup options

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(IConnection, ImapFolderInfoCollection, Stream, BackupSettings)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, Stream stream, 
    BackupSettings options)
ParameterTypeDescription
connectionIConnectionConnection to a server
foldersImapFolderInfoCollectionA folders to backup
streamStreamA stream to write into
optionsBackupSettingsA backup options

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(ImapFolderInfoCollection, string, BackupSettings)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, string fileName, BackupSettings options)
ParameterTypeDescription
foldersImapFolderInfoCollectionA folders to backup
fileNameStringA path to the presonal storage file
optionsBackupSettingsA backup options

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(ImapFolderInfoCollection, Stream, BackupSettings)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, Stream stream, BackupSettings options)
ParameterTypeDescription
foldersImapFolderInfoCollectionA folders to backup
streamStreamA stream to write into
optionsBackupSettingsA backup options

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(IConnection, ImapFolderInfoCollection, string, BackupSettings, CancellationToken)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, string fileName, 
    BackupSettings options, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
foldersImapFolderInfoCollectionA folders to backup
fileNameStringA path to the presonal storage file
optionsBackupSettingsA backup options
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(IConnection, ImapFolderInfoCollection, Stream, BackupSettings, CancellationToken)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, Stream stream, 
    BackupSettings options, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
foldersImapFolderInfoCollectionA folders to backup
streamStreamA stream to write into
optionsBackupSettingsA backup options
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(ImapFolderInfoCollection, string, BackupSettings, CancellationToken)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, string fileName, BackupSettings options, 
    CancellationToken token)
ParameterTypeDescription
foldersImapFolderInfoCollectionA folders to backup
fileNameStringA path to the presonal storage file
optionsBackupSettingsA backup options
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


BackupAsync(ImapFolderInfoCollection, Stream, BackupSettings, CancellationToken)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, Stream stream, BackupSettings options, 
    CancellationToken token)
ParameterTypeDescription
foldersImapFolderInfoCollectionA folders to backup
streamStreamA stream to write into
optionsBackupSettingsA backup options
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also