SearchIndexingBufferedSender<T> Constructors

Definition

Overloads

SearchIndexingBufferedSender<T>()

Protected constructor for mocking.

SearchIndexingBufferedSender<T>(SearchClient, SearchIndexingBufferedSenderOptions<T>)

Creates a new instance of SearchIndexingBufferedSender<T> that can be used to index search documents with intelligent batching, automatic flushing, and retries for failed indexing actions.

SearchIndexingBufferedSender<T>()

Source:
SearchIndexingBufferedSender.cs
Source:
SearchIndexingBufferedSender.cs

Protected constructor for mocking.

protected SearchIndexingBufferedSender ();

Applies to

SearchIndexingBufferedSender<T>(SearchClient, SearchIndexingBufferedSenderOptions<T>)

Source:
SearchIndexingBufferedSender.cs
Source:
SearchIndexingBufferedSender.cs

Creates a new instance of SearchIndexingBufferedSender<T> that can be used to index search documents with intelligent batching, automatic flushing, and retries for failed indexing actions.

public SearchIndexingBufferedSender (Azure.Search.Documents.SearchClient searchClient, Azure.Search.Documents.SearchIndexingBufferedSenderOptions<T> options = default);

Parameters

searchClient
SearchClient

The SearchClient used to send requests to the service.

options
SearchIndexingBufferedSenderOptions<T>

The SearchIndexingBufferedSenderOptions<T> to customize the sender's behavior.

Exceptions

Thrown when the searchClient is null.

Applies to