Share via


ListManagementImageListsExtensions.UpdateAsync Method

Definition

Updates an image list with list Id equal to list Id passed.

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)

Parameters

operations
IListManagementImageLists

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