IGraphClientAsync.FetchCategoryAsync
IGraphClientAsync.FetchCategoryAsync method
Asynchronously fetches an Outlook category by its ID.
public Task<OutlookCategory> FetchCategoryAsync(string itemId,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| itemId | String | The ID of the category to fetch. |
| 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 fetched OutlookCategory.
See Also
- class OutlookCategory
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email