Freigeben über


IDatabaseErrorHandler.OnCorruption(SQLiteDatabase) Method

Definition

The method invoked when database corruption is detected.

[Android.Runtime.Register("onCorruption", "(Landroid/database/sqlite/SQLiteDatabase;)V", "GetOnCorruption_Landroid_database_sqlite_SQLiteDatabase_Handler:Android.Database.IDatabaseErrorHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnCorruption (Android.Database.Sqlite.SQLiteDatabase? dbObj);
[<Android.Runtime.Register("onCorruption", "(Landroid/database/sqlite/SQLiteDatabase;)V", "GetOnCorruption_Landroid_database_sqlite_SQLiteDatabase_Handler:Android.Database.IDatabaseErrorHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnCorruption : Android.Database.Sqlite.SQLiteDatabase -> unit

Parameters

dbObj
SQLiteDatabase

the SQLiteDatabase object representing the database on which corruption is detected.

Attributes

Remarks

The method invoked when database corruption is detected.

Java documentation for android.database.DatabaseErrorHandler.onCorruption(android.database.sqlite.SQLiteDatabase).

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