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