共用方式為


INamespaceOperations.CheckAvailabilityAsync(String, CancellationToken) Method

Definition

Checks the availability of the given service namespace across all Windows Azure subscriptions. This is useful because the domain name is created based on the service namespace name. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj870968.aspx for more information)

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

Parameters

namespaceName
String

The namespace name.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response to a query for the availability status of a namespace name.

Applies to