SearchIndexingBufferedSender<T>.OnActionCompletedAsync Método

Definição

Aciona o evento ActionCompleted.

protected internal virtual System.Threading.Tasks.Task OnActionCompletedAsync (Azure.Search.Documents.Models.IndexDocumentsAction<T> action, Azure.Search.Documents.Models.IndexingResult result, System.Threading.CancellationToken cancellationToken);
abstract member OnActionCompletedAsync : Azure.Search.Documents.Models.IndexDocumentsAction<'T> * Azure.Search.Documents.Models.IndexingResult * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnActionCompletedAsync : Azure.Search.Documents.Models.IndexDocumentsAction<'T> * Azure.Search.Documents.Models.IndexingResult * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnActionCompletedAsync (action As IndexDocumentsAction(Of T), result As IndexingResult, cancellationToken As CancellationToken) As Task

Parâmetros

action
IndexDocumentsAction<T>

A ação que está sendo adicionada.

result
IndexingResult

O resultado da indexação.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Uma tarefa que não será concluída até que todos os manipuladores o realizem.

Aplica-se a