ImapDeleteFolderAsync Method
async/await version of DeleteFolder(String).

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public Task<bool> DeleteFolderAsync(
	string folderName
)

Parameters

folderName
Type: SystemString
The full name of the folder to be deleted.

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the method succeeds; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also