BackupAsync

ImapClient.BackupAsync method (1 of 8)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, string fileName, 
    BackupSettings options)
Parameter Type Description
connection IConnection Connection to a server
folders ImapFolderInfoCollection A folders to backup
fileName String A path to the presonal storage file
options BackupSettings A backup options

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (2 of 8)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, Stream stream, 
    BackupSettings options)
Parameter Type Description
connection IConnection Connection to a server
folders ImapFolderInfoCollection A folders to backup
stream Stream A stream to write into
options BackupSettings A backup options

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (3 of 8)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, string fileName, BackupSettings options)
Parameter Type Description
folders ImapFolderInfoCollection A folders to backup
fileName String A path to the presonal storage file
options BackupSettings A backup options

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (4 of 8)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, Stream stream, BackupSettings options)
Parameter Type Description
folders ImapFolderInfoCollection A folders to backup
stream Stream A stream to write into
options BackupSettings A backup options

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (5 of 8)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, string fileName, 
    BackupSettings options, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folders ImapFolderInfoCollection A folders to backup
fileName String A path to the presonal storage file
options BackupSettings A backup options
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (6 of 8)

Backups the content of the specified folders

public Task BackupAsync(IConnection connection, ImapFolderInfoCollection folders, Stream stream, 
    BackupSettings options, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folders ImapFolderInfoCollection A folders to backup
stream Stream A stream to write into
options BackupSettings A backup options
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (7 of 8)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, string fileName, BackupSettings options, 
    CancellationToken token)
Parameter Type Description
folders ImapFolderInfoCollection A folders to backup
fileName String A path to the presonal storage file
options BackupSettings A backup options
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.BackupAsync method (8 of 8)

Backups the content of the specified folders

public Task BackupAsync(ImapFolderInfoCollection folders, Stream stream, BackupSettings options, 
    CancellationToken token)
Parameter Type Description
folders ImapFolderInfoCollection A folders to backup
stream Stream A stream to write into
options BackupSettings A backup options
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also