ServiceBusRuleManager.GetRulesAsync(CancellationToken) Method

Definition

Iterates over the rules associated with the subscription.

C#
public virtual System.Collections.Generic.IAsyncEnumerable<Azure.Messaging.ServiceBus.Administration.RuleProperties> GetRulesAsync(System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

An optional CancellationToken instance to signal the request to cancel the operation.

Returns

Returns each rule on the associated subscription.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview