ImapClient.RenameFolderAsync
Contents
[
Hide
]RenameFolderAsync(IConnection, string, string)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
RenameFolderAsync(string, string)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
RenameFolderAsync(IConnection, string, string, CancellationToken)
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
RenameFolderAsync(string, string, CancellationToken)
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email