IGraphClientAsync.CreateRuleAsync

IGraphClientAsync.CreateRuleAsync method

Asynchronously creates an inbox rule.

public Task<InboxRule> CreateRuleAsync(InboxRule rule, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
ruleInboxRuleThe InboxRule to create.
cancellationTokenCancellationTokenA 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