AceQL HTTP C# Client SDK v2.0

AceQLDataReader..::..GetStreamAsync Method (Int32, CancellationToken)

Downloads the Blob and gets the stream.

The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.

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

Syntax


public Task<Stream> GetStreamAsync(
	int ordinal,
	CancellationToken cancellationToken
)

Parameters

ordinal
Type: Int32
The ordinal.
cancellationToken
Type: CancellationToken
The cancellation instruction.

Return Value

The Stream to read the downloaded Blob.

Exceptions


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