Compartir a través de


SearchIndexingBufferedSender<T>.OnActionAddedAsync Método

Definición

Produce el 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>

Acción que se va a agregar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Tarea que no se completará hasta que se realice cada controlador.

Se aplica a