SearchIndexingBufferedSender<T>.OnActionCompletedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.