ImapClientRenameFolderAsync Method (String, String, CancellationToken)

Renames a specified folder to a new name

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task RenameFolderAsync(
	string folderName,
	string newFolderName,
	CancellationToken token
)

Parameters

folderName
Type: SystemString
Folder to be renamed
newFolderName
Type: SystemString
New folder name
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: Task
Task object, with delegate for this operation
See Also