Java.Sql.IStatement.Cancel Method
Cancels this statement's execution if both the database and the JDBC driver support aborting an SQL statement in flight.

Syntax

[Android.Runtime.Register("cancel", "()V", "GetCancelHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Cancel ()

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.

Remarks

Cancels this statement's execution if both the database and the JDBC driver support aborting an SQL statement in flight. This method can be used by one thread to stop a statement that is executed on another thread.

[Android Documentation]

Requirements

Namespace: Java.Sql
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1