MySQL Connector/Net
MySqlHelperExecuteReaderAsync Method (MySqlConnection, String) |
Async version of ExecuteReader
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public static Task<MySqlDataReader> ExecuteReaderAsync( MySqlConnection connection, string commandText )
Public Shared Function ExecuteReaderAsync ( connection As MySqlConnection, commandText As String ) As Task(Of MySqlDataReader)
public: static Task<MySqlDataReader^>^ ExecuteReaderAsync( MySqlConnection^ connection, String^ commandText )
static member ExecuteReaderAsync : connection : MySqlConnection * commandText : string -> Task<MySqlDataReader>
Parameters
- connection
- Type: MySql.Data.MySqlClientMySqlConnection
MySqlConnection object to use for the command - commandText
- Type: SystemString
Command text to use
Return Value
Type: TaskMySqlDataReaderMySqlDataReader object ready to read the results of the command
