Cancel Method

MySQL Connector/Net

Attempts to cancel the execution of a currently active command

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public override void Cancel()
Visual Basic (Declaration)
Public Overrides Sub Cancel
Visual C++
public:
virtual void Cancel() override

Implements

IDbCommand..::.Cancel()()()

Remarks

Cancelling a currently active query only works with MySQL versions 5.0.0 and higher.

See Also