Share via


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 ();
Protected Sub New ()

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);
new Azure.Search.Documents.SearchIndexingBufferedSender<'T> : Azure.Search.Documents.SearchClient * Azure.Search.Documents.SearchIndexingBufferedSenderOptions<'T> -> Azure.Search.Documents.SearchIndexingBufferedSender<'T>
Public Sub New (searchClient As SearchClient, Optional options As SearchIndexingBufferedSenderOptions(Of T) = Nothing)

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