Click or drag to resize

SphinxQLCommandExecuteNonQueryAsync Method (CancellationToken)

Executes a SphinxQL statement against a connection object.

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public override Task<int> ExecuteNonQueryAsync(
	CancellationToken cancellationToken
)

Parameters

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

Return Value

Type: TaskInt32
The number of rows affected by the statement.
A task representing the asynchronous operation.
Exceptions
ExceptionCondition
InvalidOperationException There is no connection associated with this command or the connection is closed.
SphinxQLException
See Also