SearchIndexingBufferedSender<T>.Flush(CancellationToken) 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.
Flush any pending indexing actions. This will wait until everything has been sent before returning.
public void Flush (System.Threading.CancellationToken cancellationToken = default);
member this.Flush : System.Threading.CancellationToken -> unit
Public Sub Flush (Optional cancellationToken As CancellationToken = Nothing)
Parameters
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be canceled.