Java.Sql.IStatement.QueryTimeout Property
Gets the timeout value for the statement's execution time.

Syntax

[get: Android.Runtime.Register("getQueryTimeout", "()I", "GetGetQueryTimeoutHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[set: Android.Runtime.Register("setQueryTimeout", "(I)V", "GetSetQueryTimeout_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int QueryTimeout { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.
Java.Sql.SQLExceptionif an error occurs accessing the database or if seconds 0.

Remarks

Get method documentation [Android Documentation]

Gets the timeout value for the statement's execution time. The JDBC driver will wait up to this value for the execution to complete - after the limit is exceeded an SQL Exception is thrown.

Set method documentation [Android Documentation]

Sets the timeout, in seconds, for queries - how long the driver will allow for completion of a statement execution. If the timeout is exceeded, the query will throw an SQLException.

Requirements

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