Android.Database.IDatabaseErrorHandler.OnCorruption Method
defines the method to be invoked when database corruption is detected.

Syntax

[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)

Parameters

dbObj
the Android.Database.Sqlite.SQLiteDatabase object representing the database on which corruption is detected.

Remarks

defines the method to be invoked when database corruption is detected.

[Android Documentation]

Requirements

Namespace: Android.Database
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11