NameOperationsExtensions.CheckAvailabilityAsync(INameOperations, CheckNameAvailabilityRequestParameters, CancellationToken) NameOperationsExtensions.CheckAvailabilityAsync(INameOperations, CheckNameAvailabilityRequestParameters, CancellationToken) Method

Definition

Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.CheckNameAvailabilityResponse> CheckAvailabilityAsync (this Microsoft.Azure.Management.NotificationHubs.INameOperations operations, Microsoft.Azure.Management.NotificationHubs.Models.CheckNameAvailabilityRequestParameters parameters, System.Threading.CancellationToken cancellationToken = null);
static member CheckAvailabilityAsync : Microsoft.Azure.Management.NotificationHubs.INameOperations * Microsoft.Azure.Management.NotificationHubs.Models.CheckNameAvailabilityRequestParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.CheckNameAvailabilityResponse>
Parameters
operations
INameOperations INameOperations

The operations group for this extension method.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to