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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET