Providers.unregisterAsync 方法

定义

重载

unregisterAsync(String resourceProviderNamespace)

Unregisters provider from a subscription asynchronously.

unregisterAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)

Unregisters provider from a subscription asynchronously.

unregisterAsync(String resourceProviderNamespace)

Unregisters provider from a subscription asynchronously.

public Observable<Provider> unregisterAsync(String resourceProviderNamespace)

参数

resourceProviderNamespace
String

Namespace of the resource provider

返回

Observable<Provider>

a representation of the deferred computation of this call returning the unregistered Provider if successful

unregisterAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)

Unregisters provider from a subscription asynchronously.

public ServiceFuture<Provider> unregisterAsync(String resourceProviderNamespace, ServiceCallback<Provider> callback)

参数

resourceProviderNamespace
String

namespace of the resource provider

callback
ServiceCallback<Provider>

the callback to call on success or failure with the ProviderInner object wrapped as parameter if successful

返回

ServiceFuture<Provider>

a handle to cancel the request

适用于