ImapClient.DeleteFolderAsync
Contents
[
Hide
]DeleteFolderAsync(IConnection, string)
Deletes a specified folder. This method represents IMAP DELETE command
public Task DeleteFolderAsync(IConnection connection, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder to be deleted |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteFolderAsync(string)
Deletes a specified folder. This method represents IMAP DELETE command
public Task DeleteFolderAsync(string folderName)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder to be deleted |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteFolderAsync(IConnection, string, CancellationToken)
Deletes a specified folder. This method represents IMAP DELETE command
public Task DeleteFolderAsync(IConnection connection, string folderName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Folder to be deleted |
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
DeleteFolderAsync(string, CancellationToken)
Deletes a specified folder. This method represents IMAP DELETE command
public Task DeleteFolderAsync(string folderName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
folderName | String | Folder to be deleted |
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