Cancel Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Attempts to cancel the execution of a currently active command

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

Syntax

C#
public override void Cancel()
Visual Basic
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