Compartilhar via


ServiceBusRuleManager.GetRulesAsync(CancellationToken) Método

Definição

Itera sobre as regras associadas à assinatura.

public virtual System.Collections.Generic.IAsyncEnumerable<Azure.Messaging.ServiceBus.Administration.RuleProperties> GetRulesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRulesAsync : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Azure.Messaging.ServiceBus.Administration.RuleProperties>
override this.GetRulesAsync : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Azure.Messaging.ServiceBus.Administration.RuleProperties>
Public Overridable Function GetRulesAsync (Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of RuleProperties)

Parâmetros

cancellationToken
CancellationToken

Uma instância opcional CancellationToken para sinalizar a solicitação para cancelar a operação.

Retornos

Retorna cada regra na assinatura associada.

Aplica-se a