ImapClientDeleteFolderAsync Method (IConnection, String) |
Deletes a specified folder. This method represents IMAP DELETE command
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task DeleteFolderAsync(
IConnection connection,
string folderName
)
Public Function DeleteFolderAsync (
connection As IConnection,
folderName As String
) As Task
public:
Task^ DeleteFolderAsync(
IConnection^ connection,
String^ folderName
)
member DeleteFolderAsync :
connection : IConnection *
folderName : string -> Task
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - folderName
- Type: SystemString
Folder to be deleted
Return Value
Type:
TaskTask object, with delegate for this operation
See Also