ServiceBusNamespaces.checkNameAvailabilityAsync 方法

定义

重载

checkNameAvailabilityAsync(String name)

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

checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

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

checkNameAvailabilityAsync(String name)

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

public Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

参数

name
String

the namespace name to check

返回

a representation of the deferred computation of this call, returning whether the name is available or other info if not

checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

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

public ServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

参数

name
String

the namespace name to check

callback
ServiceCallback<CheckNameAvailabilityResult>

the callback to call on success or failure

返回

a handle to cancel the request

适用于