SupportsDeletingById.deleteByIdAsync 方法

定义

重载

deleteByIdAsync(String id)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

deleteByIdAsync(String id, ServiceCallback<Void> callback)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

deleteByIdAsync(String id)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

public Completable deleteByIdAsync(String id)

参数

id
String

the resource ID of the resource to delete

返回

Completable

a representation of the deferred computation of this call

deleteByIdAsync(String id, ServiceCallback<Void> callback)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

public ServiceFuture<Void> deleteByIdAsync(String id, ServiceCallback<Void> callback)

参数

id
String

the resource ID of the resource to delete

callback
ServiceCallback<Void>

the callback on success or failure

返回

ServiceFuture<Void>

a handle to cancel the request

适用于