ExecuteXmlReaderAsync()

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

Declaration

// C#
public Task<XmlReader> ExecuteXmlReaderAsync();

Return Value

Task<XmlReader> 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.