Thread.DefaultUncaughtExceptionHandler Property
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.
Returns the default handler invoked when a thread abruptly terminates due to an uncaught exception. -or- Set the default handler invoked when a thread abruptly terminates due to an uncaught exception, and no other handler has been defined for that thread.
public static Java.Lang.Thread.IUncaughtExceptionHandler? DefaultUncaughtExceptionHandler { [Android.Runtime.Register("getDefaultUncaughtExceptionHandler", "()Ljava/lang/Thread$UncaughtExceptionHandler;", "")] get; [Android.Runtime.Register("setDefaultUncaughtExceptionHandler", "(Ljava/lang/Thread$UncaughtExceptionHandler;)V", "")] set; }
[<get: Android.Runtime.Register("getDefaultUncaughtExceptionHandler", "()Ljava/lang/Thread$UncaughtExceptionHandler;", "")>]
[<set: Android.Runtime.Register("setDefaultUncaughtExceptionHandler", "(Ljava/lang/Thread$UncaughtExceptionHandler;)V", "")>]
static member DefaultUncaughtExceptionHandler : Java.Lang.Thread.IUncaughtExceptionHandler with get, set
Property Value
the default uncaught exception handler for all threads
- Attributes
Remarks
Property getter documentation:
Java documentation for java.lang.Thread.getDefaultUncaughtExceptionHandler()
.
Property setter documentation:
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.