AceQL HTTP C# Client SDK v7.8

AceQLDataReader..::..ReadAsync Method

Advances the reader to the next record. Method is provided only for consistency: same method exists in SQLServer SqlDataReader class.

It's cleaner to use AceQLDataReader.Read() because data are read from a [TextReader] (all data are already downloaded when AceQLDataReader is created.)

Namespace:  AceQL.Client.Api
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<bool> ReadAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: CancellationToken
The cancellation instruction.

Return Value

true if there are more rows; otherwise, false.

Exceptions


ExceptionCondition
AceQL.Client.Api..::..AceQLExceptionIf any Exception occurs.