Share via


ListManagementTermListsExtensions.DeleteAsync Method

Definition

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

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

Parameters

operations
IListManagementTermLists

The operations group for this extension method.

listId
String

List Id of the image list.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to