Language

StrictMode.ThreadPolicy.Builder.PenaltyDeath Method

Definition

Crash the whole process on violation.

[Android.Runtime.Register("penaltyDeath", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")]
public Android.OS.StrictMode.ThreadPolicy.Builder PenaltyDeath();
[<Android.Runtime.Register("penaltyDeath", "()Landroid/os/StrictMode$ThreadPolicy$Builder;", "")>]
member this.PenaltyDeath : unit -> Android.OS.StrictMode.ThreadPolicy.Builder

Returns

The returned value is non-null.

Attributes

Remarks

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.

Java documentation for android.os.StrictMode.ThreadPolicy.Builder.penaltyDeath().

Applies to