IGraphClientAsync.ListFoldersAsync
Contents
[
Hide
]ListFoldersAsync(ODataQueryBuilder, CancellationToken)
Asynchronously lists folders from the root folder.
public Task<FolderInfoCollection> ListFoldersAsync(ODataQueryBuilder queryBuilder = null,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| queryBuilder | ODataQueryBuilder | Optional OData query builder for filtering folders. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
Return Value
A task that represents the asynchronous operation. The task result contains the list of subfolders of the root folder.
See Also
- class FolderInfoCollection
- class ODataQueryBuilder
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email
ListFoldersAsync(string, ODataQueryBuilder, CancellationToken)
Asynchronously lists folders from the parent folder.
public Task<FolderInfoCollection> ListFoldersAsync(string id,
ODataQueryBuilder queryBuilder = null, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| id | String | Parent folder id. |
| queryBuilder | ODataQueryBuilder | Optional OData query builder for filtering folders. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
Return Value
A task that represents the asynchronous operation. The task result contains the list of subfolders of the folder.
See Also
- class FolderInfoCollection
- class ODataQueryBuilder
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email