This thread-safe method allows you to stop query execution. To do this attach an OracleCommand object to connection that is used in operation to halt and invoke Cancel() method in another thread. This method returns without errors, while all stopped executions raise exception "ORA-01013: user requested cancel of current operation".
For detailed information on how to stop asynchronous execution refer to article Asynchronous Execution.
This method is available for Oracle server 9 and newer.