EwsEmptyFolderAsync Method
Async/await version of EmptyFolder(FolderId, Boolean).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<bool> EmptyFolderAsync(
	FolderId id,
	bool deleteSubFolders
)

Parameters

id
Type: FolderId
deleteSubFolders
Type: SystemBoolean

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Framework.
Remarks
Note Note
This method is not implemented in .NET Framework. Use EmptyFolder(FolderId, Boolean) instead.
See Also