Udostępnij za pośrednictwem


SQLiteDatabase.InTransaction Method

Definition

Returns true if the current thread has a transaction pending.

[Android.Runtime.Register("inTransaction", "()Z", "GetInTransactionHandler")]
public virtual bool InTransaction ();
[<Android.Runtime.Register("inTransaction", "()Z", "GetInTransactionHandler")>]
abstract member InTransaction : unit -> bool
override this.InTransaction : unit -> bool

Returns

True if the current thread is in a transaction.

Attributes

Remarks

Returns true if the current thread has a transaction pending.

Java documentation for android.database.sqlite.SQLiteDatabase.inTransaction().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to