Click or drag to resize

SphinxQLConnectionBeginTransactionAsync Method (CancellationToken)

Begins a new transaction asynchronously.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public Task<SphinxQLTransaction> BeginTransactionAsync(
	CancellationToken cancellationToken
)

Parameters

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

Return Value

Type: TaskSphinxQLTransaction
A SphinxQLTransaction object.
Exceptions
ExceptionCondition
InvalidOperationException The connection is closed or a transaction has already been started for this instance.
See Also