IAsyncImapClient.DeleteFolderAsync
IAsyncImapClient.DeleteFolderAsync method
Deletes a specified folder. This method represents IMAP DELETE command.
public Task DeleteFolderAsync(string folderName, IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | String | Connection to a server. |
folderName | IConnection | Folder to be deleted. |
token | CancellationToken | Propagates notification that operations should be canceled. |
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email