RenameFolderAsync

ImapClient.RenameFolderAsync method (1 of 4)

Renames a specified folder to a new name

public Task RenameFolderAsync(IConnection connection, string folderName, string newFolderName)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be renamed
newFolderName String New folder name

Return Value

Task object, with delegate for this operation

See Also


ImapClient.RenameFolderAsync method (2 of 4)

Renames a specified folder to a new name

public Task RenameFolderAsync(string folderName, string newFolderName)
Parameter Type Description
folderName String Folder to be renamed
newFolderName String New folder name

Return Value

Task object, with delegate for this operation

See Also


ImapClient.RenameFolderAsync method (3 of 4)

Renames a specified folder to a new name

public Task RenameFolderAsync(IConnection connection, string folderName, string newFolderName, 
    CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder to be renamed
newFolderName String New folder name
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.RenameFolderAsync method (4 of 4)

Renames a specified folder to a new name

public Task RenameFolderAsync(string folderName, string newFolderName, CancellationToken token)
Parameter Type Description
folderName String Folder to be renamed
newFolderName String New folder name
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also