.NET Framework 4.6 and 4.5
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|ExecuteNonQueryAsync()||An asynchronous version of ExecuteNonQuery, which executes a SQL statement against a connection object.Invokes ExecuteNonQueryAsync with CancellationToken.None. (Inherited from DbCommand.)|
|ExecuteNonQueryAsync(CancellationToken)||An asynchronous version of ExecuteNonQuery, which executes a Transact-SQL statement against the connection and returns the number of rows affected. 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. (Overrides DbCommand.ExecuteNonQueryAsync(CancellationToken).)|