NamespacesOperationsExtensions.CheckNameAvailabilityMethodAsync(INamespacesOperations, String, CancellationToken) Method

Definition

Check the give namespace name availability.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.CheckNameAvailabilityResultInner> CheckNameAvailabilityMethodAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations operations, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityMethodAsync : Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.CheckNameAvailabilityResultInner>
<Extension()>
Public Function CheckNameAvailabilityMethodAsync (operations As INamespacesOperations, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResultInner)

Parameters

operations
INamespacesOperations

The operations group for this extension method.

name
System.String

The Name to check the namespce name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CheckNameAvailabilityResultInner>

Applies to