IDatabaseErrorHandler.OnCorruption(SQLiteDatabase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.