Condividi tramite


SearchIndexingBufferedSender<T>.OnActionCompletedAsync Method

Definition

Raise the ActionCompleted event.

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

Parameters

action
IndexDocumentsAction<T>

The action being added.

result
IndexingResult

The result of indexing.

cancellationToken
CancellationToken

Cancellation token.

Returns

A task that will not complete until every handler does.

Applies to