Share via


ListManagementImageListsExtensions.DeleteAsync Method

Definition

Deletes image list with the list Id equal to list Id passed.

public static System.Threading.Tasks.Task<string> DeleteAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementImageLists operations, string listId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementImageLists * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function DeleteAsync (operations As IListManagementImageLists, listId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

operations
IListManagementImageLists

The operations group for this extension method.

listId
String

List Id of the image list.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to