Share via


StrictMode.ThreadPolicy.Builder.PenaltyDeathOnNetwork Method

Definition

Crash the whole process on any network usage.

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

Returns

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.

Applies to