Udostępnij za pośrednictwem


SearchIndexingBufferedSender<T>.OnActionSentAsync Method

Definition

Raise the ActionSent event.

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