Share via


SearchIndexingBufferedSender<T>.OnActionAddedAsync Method

Definition

Raise the ActionAdded event.

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

Parameters

action
IndexDocumentsAction<T>

The action being added.

cancellationToken
CancellationToken

Cancellation token.

Returns

A task that will not complete until every handler does.

Applies to