Share via


ListManagementTermListsExtensions.UpdateAsync Method

Definition

Updates an Term List.

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

Parameters

operations
IListManagementTermLists

The operations group for this extension method.

listId
String

List Id of the image list.

contentType
String

The content type.

body
Body

Schema of the body.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to