SearchIndexerClient.GetIndexerAsync(String, CancellationToken) Méthode

Définition

Obtient un spécifique SearchIndexer.

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

Paramètres

indexerName
String

Obligatoire. Nom de l'objet SearchIndexer à obtenir.

cancellationToken
CancellationToken

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

Retours

Response<T> à partir du serveur contenant le demandéSearchIndexer.

Exceptions

Levé quand indexerName a la valeur null.

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

S’applique à