Click or drag to resize

SphinxQLTransactionCommitAsync Method (CancellationToken)

Asynchronously commits the transaction.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public Task CommitAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A task representing the asynchronous operation.
Exceptions
ExceptionCondition
ObjectDisposedException
InvalidOperationException Transaction has already been committed or rolled back.
SphinxQLException
See Also