Ews.FolderExistsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 8.0.9673)
FolderExistsAsync(EwsFolderId, String, Object)
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 object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | True if folder exists; false otherwise. |
FolderExistsAsync(EwsFolderId, Object)
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 object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | True if folder exists; false otherwise. |