DbCommand::Cancel Method ()
.NET Framework (current version)
Attempts to cancels the execution of a DbCommand.
Assembly: System.Data (in System.Data.dll)
If there is nothing to cancel, nothing happens. However, if there is a command in process, and the attempt to cancel fails, no exception is generated.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: