IGraphClientAsync.GetFolderAsync
IGraphClientAsync.GetFolderAsync method
Asynchronously gets a folder by its ID.
public Task<FolderInfo> GetFolderAsync(string id, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| id | String | Folder id. |
| 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 folder for specified id.
See Also
- class FolderInfo
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email