SearchIndexerClient.RunIndexerAsync(String, CancellationToken) Método

Definición

Ejecute un indexador ahora.

public virtual System.Threading.Tasks.Task<Azure.Response> RunIndexerAsync (string indexerName, System.Threading.CancellationToken cancellationToken = default);
abstract member RunIndexerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RunIndexerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RunIndexerAsync (indexerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parámetros

indexerName
String

Necesario. Nombre del indizador que se va a ejecutar.

cancellationToken
CancellationToken

Opcional CancellationToken para propagar las notificaciones que se deben cancelar en la operación.

Devoluciones

del Response servidor.

Excepciones

Se genera cuando el valor de indexerName es null.

Se produce cuando el servicio Search devuelve un error.

Se aplica a