SqlCommand::ExecuteXmlReaderAsync Method
.NET Framework (current version)
Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this SqlCommand and returns results as an XmlReader object.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | ExecuteXmlReaderAsync() | An asynchronous version of ExecuteXmlReader, which sends the CommandText to the Connection and builds an XmlReader object. Exceptions will be reported via the returned Task object. |
![]() | ExecuteXmlReaderAsync(CancellationToken) | An asynchronous version of ExecuteXmlReader, which sends the CommandText to the Connection and builds an XmlReader object. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. |
Show:
