Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.FolderExistsAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

FolderExistsAsync(EwsFolderId, String, Object)

Begins asynchronous FolderExists operation. Detects whether a folder with specified name exists under a parent folder.

Declaration
public Task<bool> FolderExistsAsync(EwsFolderId parentId, string name, object state = null)
Parameters
Type Name Description
EwsFolderId parentId

ID of a folder where to find requested folder name.

String name

Name of the folder to be found.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<Boolean>

True if folder exists; false otherwise.

FolderExistsAsync(EwsFolderId, Object)

Begins asynchronous FolderExists operation. Detects whether a folder with specified ID still exists.

Declaration
public Task<bool> FolderExistsAsync(EwsFolderId id, object state = null)
Parameters
Type Name Description
EwsFolderId id

ID of a folder.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<Boolean>

True if folder exists; false otherwise.

In This Article
  • FolderExistsAsync(EwsFolderId, String, Object)
  • FolderExistsAsync(EwsFolderId, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies