ImapCloseAsync Method (Boolean)
async/await version of Close(Boolean).

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<bool> CloseAsync(
	bool expungeDeleted
)

Parameters

expungeDeleted
Type: SystemBoolean
If true, the messages marked as deleted will be permanently removed from the folder.

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