共用方式為


IServiceBusNamespaces.CheckNameAvailabilityAsync Method

Definition

Checks if namespace name is valid and is not in use asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.ICheckNameAvailabilityResult> CheckNameAvailabilityAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.ICheckNameAvailabilityResult>
Public Function CheckNameAvailabilityAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ICheckNameAvailabilityResult)

Parameters

name
String

The namespace name to check.

cancellationToken
CancellationToken

Returns

Applies to