ImapRenameFolderAsync Method
async/await version of RenameFolder(String, String).

Namespace: MailBee.ImapMail
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public Task<bool> RenameFolderAsync(
	string oldName,
	string newName
)

Parameters

oldName
Type: SystemString
The full name of the folder to be renamed.
newName
Type: SystemString
The new full name of the folder.

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the method succeeds; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also