Imap.RenameFolderAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
RenameFolderAsync(String, String, Object)
Begins asynchronous RenameFolder operation. Renames a specified folder to a new name.
Declaration
public Task RenameFolderAsync(string folder, string newFolderName, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | folder | Folder to be renamed. |
String | newFolderName | New folder name. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |
Remarks
This method represents IMAP RENAME command.