Partager via


ListManagementTermListsExtensions.UpdateAsync Méthode

Définition

Mises à jour une liste de termes.

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)

Paramètres

operations
IListManagementTermLists

Groupe d’opérations pour cette méthode d’extension.

listId
String

ID de liste de la liste d’images.

contentType
String

Type de contenu.

body
Body

Schéma du corps.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à