IFulltext SessionFlush Changes Async(Cancellation Token) Method
Asynchronously flushes all pending changes, i.e. all changes made via Save and Delete
since the start of the session or since the last call to FlushChanges. All statements
are executed within one transaction.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
A task representing the asynchronous operation.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
Task FlushChangesAsync(
CancellationToken cancellationToken
)VB
Function FlushChangesAsync (
cancellationToken As CancellationToken
) As TaskParameters
- cancellationToken CancellationToken
- The token to monitor for cancellation requests.
Return Value
TaskA task representing the asynchronous operation.
Exceptions
| ObjectDisposedException | Occurs when the session has already been disposed. |
| FulltextException | Occurs when there is an error during the execution of the queries. |