Dela via


NamespaceOperationsExtensions.CheckAvailabilityAsync 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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.CheckNamespaceAvailabilityResponse> CheckAvailabilityAsync (this Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations operations, string namespaceName);
static member CheckAvailabilityAsync : Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ServiceBus.Models.CheckNamespaceAvailabilityResponse>
<Extension()>
Public Function CheckAvailabilityAsync (operations As INamespaceOperations, namespaceName As String) As Task(Of CheckNamespaceAvailabilityResponse)

Parameters

operations
INamespaceOperations

Reference to the Microsoft.WindowsAzure.Management.ServiceBus.INamespaceOperations.

namespaceName
String

Required. The namespace name.

Returns

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

Applies to