Android.App.Instrumentation.OnException Method
This is called whenever the system captures an unhandled exception that was thrown by the application.

Syntax

[Android.Runtime.Register("onException", "(Ljava/lang/Object;Ljava/lang/Throwable;)Z", "GetOnException_Ljava_lang_Object_Ljava_lang_Throwable_Handler")]
public virtual bool OnException (Java.Lang.Object obj, Java.Lang.Throwable e)

Parameters

obj
The client object that generated the exception. May be an Application, Activity, BroadcastReceiver, Service, or null.
e
The exception that was thrown.

Returns

Documentation for this section has not yet been entered.

Remarks

This is called whenever the system captures an unhandled exception that was thrown by the application. The default implementation simply returns false, allowing normal system handling of the exception to take place.

[Android Documentation]

Requirements

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