Freigeben über


ListManagementTermListsExtensions.UpdateAsync Methode

Definition

Updates einer Begriffsliste.

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)

Parameter

operations
IListManagementTermLists

Die Vorgangsgruppe für diese Erweiterungsmethode.

listId
String

Listen-ID der Bildliste.

contentType
String

Der Inhaltstyp.

body
Body

Schema des Textkörpers.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: