SearchIndexingBufferedSender<T>.OnActionAddedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET