 | SphinxQLDataReaderReadAsync Method (CancellationToken) |
Asynchronously advances the reader to the next record in a result set.
Namespace:
SphinxConnector.SphinxQL
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic override Task<bool> ReadAsync(
CancellationToken cancellationToken
)
Public Overrides Function ReadAsync (
cancellationToken As CancellationToken
) As Task(Of Boolean)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskBoolean
true if there are more rows; otherwise false.
A task representing the asynchronous operation.
Exceptions
See Also