ImapClient.MoveFolderAsync
Contents
[
Hide
]MoveFolderAsync(string, string)
Moves specified folder and its subfolders to new location.
public Task MoveFolderAsync(string newParentFolder, string folderName)
Parameter | Type | Description |
---|---|---|
newParentFolder | String | New location for moved folder |
folderName | String | Folder to move |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
MoveFolderAsync(IConnection, string, string)
Moves specified folder and its subfolders to new location.
public Task MoveFolderAsync(IConnection connection, string newParentFolder, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | String | New location for moved folder |
folderName | String | Folder to move |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
MoveFolderAsync(string, string, CancellationToken)
Moves specified folder and its subfolders to new location.
public Task MoveFolderAsync(string newParentFolder, string folderName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
newParentFolder | String | New location for moved folder |
folderName | String | Folder to move |
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
MoveFolderAsync(IConnection, string, string, CancellationToken)
Moves specified folder and its subfolders to new location.
public Task MoveFolderAsync(IConnection connection, string newParentFolder, string folderName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | String | New location for moved folder |
folderName | String | Folder to move |
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