共用方式為


ISupportsBatchDeletion.DeleteByIdsAsync Method

Definition

Overloads

DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> DeleteByIdsAsync (System.Collections.Generic.IList<string> ids, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByIdsAsync : System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
Public Function DeleteByIdsAsync (ids As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))

Parameters

ids
IList<String>

Resource IDs of the resources to be deleted.

cancellationToken
CancellationToken

Returns

Applies to

DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> DeleteByIdsAsync (string[] ids, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByIdsAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
Public Function DeleteByIdsAsync (ids As String(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))

Parameters

ids
String[]

Resource IDs of the resources to be deleted.

cancellationToken
CancellationToken

Returns

Applies to