ImapClientMoveFolderAsync Method (IConnection, String, String) |
Moves specified folder and its subfolders to new location.
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task MoveFolderAsync(
IConnection connection,
string newParentFolder,
string folderName
)
Public Function MoveFolderAsync (
connection As IConnection,
newParentFolder As String,
folderName As String
) As Task
public:
Task^ MoveFolderAsync(
IConnection^ connection,
String^ newParentFolder,
String^ folderName
)
member MoveFolderAsync :
connection : IConnection *
newParentFolder : string *
folderName : string -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - newParentFolder
- Type: SystemString
New location for moved folder - folderName
- Type: SystemString
Folder to move
Return Value
Type:
TaskTask object, with delegate for this operation
See Also