IGraphClientAsync.CreateRuleAsync
IGraphClientAsync.CreateRuleAsync method
Asynchronously creates an inbox rule.
public Task<InboxRule> CreateRuleAsync(InboxRule rule,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| rule | InboxRule | The InboxRule to create. |
| 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 created InboxRule.
See Also
- class InboxRule
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email