Compartilhar via


SearchIndexingBufferedSender<T>.OnActionSentAsync Método

Definição

Aciona o evento ActionSent.

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

Parâmetros

action
IndexDocumentsAction<T>

A ação que está sendo adicionada.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Uma tarefa que não será concluída até que cada manipulador o faça.

Aplica-se a