Freigeben über


ListManagementImageListsExtensions.UpdateAsync Methode

Definition

Updates eine Bildliste mit der Listen-ID, die der übergebenen Listen-ID entspricht.

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

Parameter

operations
IListManagementImageLists

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: