ReadAsync(byte[], int, int)

The ReadAsync method returns a Task-based asynchronous version of OracleBlob.Read(), which reads a specified number of bytes from the ODP.NET LOB instance and populates the buffer.

Declaration

// C#
public Task<int> ReadAsync(byte[] buffer, int offset, int count);

Parameters

Return Value

Task<Int> object representing the asynchronous operation immediately without blocking the calling thread for the whole duration of the query execution.

Exceptions

Remark

This will call into the ReadAsync implementation with argument cancellationToken passed as CancellationToken.None.

See Also: