Ews.FindFolderAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
FindFolderAsync(EwsFolderId, String, Object)
Begins asynchronous FindFolder operation. Finds a folder with given name in a parent folder.
Declaration
public Task<EwsFolderInfo> FindFolderAsync(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<EwsFolderInfo> | EwsFolderInfo object if the folder was found; null (Nothing in VB.NET) otherwise. |