Share via


ListManagementTermListsExtensions.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.IListManagementTermLists operations, string listId, string language, System.Threading.CancellationToken cancellationToken = default);
static member RefreshIndexMethodAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementTermLists * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.RefreshIndex>
<Extension()>
Public Function RefreshIndexMethodAsync (operations As IListManagementTermLists, listId As String, language As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RefreshIndex)

Parameters

operations
IListManagementTermLists

The operations group for this extension method.

listId
String

List Id of the image list.

language
String

Language of the terms.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to