共用方式為


INamespaceOperations.GetAuthorizationRuleAsync Method

Definition

The get authorization rule operation gets an authorization rule for a namespace by name.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse> GetAuthorizationRuleAsync (string namespaceName, string entityName, System.Threading.CancellationToken cancellationToken);
abstract member GetAuthorizationRuleAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.ServiceBusAuthorizationRuleResponse>
Public Function GetAuthorizationRuleAsync (namespaceName As String, entityName As String, cancellationToken As CancellationToken) As Task(Of ServiceBusAuthorizationRuleResponse)

Parameters

namespaceName
String

The namespace to get the authorization rule for.

entityName
String

The entity name to get the authorization rule for.

cancellationToken
CancellationToken

Cancellation token.

Returns

A response to a request for a particular authorization rule.

Applies to