SearchIndexingBufferedSender<T>.OnActionAddedAsync Método

Definição

Aciona o evento ActionAdded.

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

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 todos os manipuladores o realizem.

Aplica-se a