Share via


ListManagementImageListsExtensions.RefreshIndexMethodAsync Method

Definition

Refreshes the index of the list with list Id equal to list Id passed.

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

Parameters

operations
IListManagementImageLists

The operations group for this extension method.

listId
String

List Id of the image list.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to