IGraphClientAsync.ListRulesAsync

IGraphClientAsync.ListRulesAsync method

Asynchronously lists inbox rules.

public Task<List<InboxRule>> ListRulesAsync(ODataQueryBuilder queryBuilder = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
queryBuilderODataQueryBuilderOptional OData query builder for filtering rules.
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 list of InboxRule.

See Also