SearchIndexingBufferedSender<T> Constructors
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.
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. |
Protected constructor for mocking.
protected SearchIndexingBufferedSender ();
Protected Sub New ()
Applies to
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.
The SearchIndexingBufferedSenderOptions<T> to customize the sender's behavior.
Exceptions
Thrown when the searchClient
is null.
Applies to
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: