EwsFolderExistsAsync Method (FolderId, String)
Async/await version of FolderExists(FolderId, String).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<bool> FolderExistsAsync(
	FolderId parentFolderId,
	string folderName
)

Parameters

parentFolderId
Type: FolderId
folderName
Type: SystemString

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the folder exists; otherwise, false (or if an error occurred and ThrowExceptions is 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 FolderExists(FolderId, String) instead.
See Also