SearchIndexerClient.GetIndexerNamesAsync(CancellationToken) Méthode

Définition

Obtient une liste de tous les noms d’indexeur.

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

Paramètres

cancellationToken
CancellationToken

Facultatif CancellationToken pour propager des notifications indiquant que l’opération doit être annulée.

Retours

du Response<T> serveur contenant une liste de SearchIndexer noms.

Exceptions

Levée lorsqu’un échec est retourné par le service Search.

S’applique à