ExecuteReaderAsync()

This method returns a Task-based asynchronous version of OracleCommand.ExecuteReader(), which fetches the result set as an OracleDataReader object.

Declaration

// C#
public Task<OracleDataReader> ExecuteReaderAsync();

Return Value

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

Implements

DbCommand

Exceptions

InvalidOperationException - The command cannot be executed.