Ews.GetFolderListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
GetFolderListAsync(Object)
Begins asynchronous GetFolderList operation. Gets a list of subfolders of the folder root.
Declaration
public Task<IList<EwsFolderInfo>> GetFolderListAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<IList<EwsFolderInfo>> | List of EwsFolderInfo. |
GetFolderListAsync(EwsFolderId, Object)
Begins asynchronous GetFolderList operation. Gets a list of subfolders of the specified folder. Operation is shallow, which means that only first level of subfolders is returned.
Declaration
public Task<IList<EwsFolderInfo>> GetFolderListAsync(EwsFolderId folderId, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | folderId | ID of a folder to get folders from. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<IList<EwsFolderInfo>> | List of EwsFolderInfo. |
GetFolderListAsync(EwsFolderId, EwsTraversalScope, Object)
Begins asynchronous GetFolderList operation. Gets a list of subfolders of the specified folder.
Declaration
public Task<IList<EwsFolderInfo>> GetFolderListAsync(EwsFolderId folderId, EwsTraversalScope traversingMode, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | folderId | ID of a folder to get folders from. |
EwsTraversalScope | traversingMode | Mode of traversing. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<IList<EwsFolderInfo>> | List of EwsFolderInfo. |