VistaDB 6
VistaDB.Provider Namespace / VistaDBCommand Class / ExecuteNonQueryAsync Method


In This Topic
    ExecuteNonQueryAsync Method
    In This Topic
    An asynchronous version of System.Data.Common.DbCommand.ExecuteNonQuery, which executes a SQL statement against a connection object. Invokes System.Data.Common.DbCommand.ExecuteNonQueryAsync(System.Threading.CancellationToken) with CancellationToken.None.
    Overload List
    OverloadDescription
    An asynchronous version of System.Data.Common.DbCommand.ExecuteNonQuery, which executes a SQL statement against a connection object. Invokes System.Data.Common.DbCommand.ExecuteNonQueryAsync(System.Threading.CancellationToken) with CancellationToken.None. (Inherited from System.Data.Common.DbCommand)
    This is the asynchronous version of System.Data.Common.DbCommand.ExecuteNonQuery. Providers should override with an appropriate implementation. The cancellation token may optionally be ignored. The default implementation invokes the synchronous System.Data.Common.DbCommand.ExecuteNonQuery method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token. Exceptions thrown by System.Data.Common.DbCommand.ExecuteNonQuery will be communicated via the returned Task Exception property. Do not invoke other methods and properties of the DbCommand object until the returned Task is complete. (Inherited from System.Data.Common.DbCommand)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also