StrictMode.ThreadPolicy.Builder Constructors
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.
Overloads
StrictMode.ThreadPolicy.Builder() |
Create a Builder that detects nothing and has no violations. (but note that Build() will default to enabling PenaltyLog() if no other penalties are specified) |
StrictMode.ThreadPolicy.Builder(StrictMode+ThreadPolicy) |
Initialize a Builder from an existing ThreadPolicy. |
StrictMode.ThreadPolicy.Builder()
Create a Builder that detects nothing and has no violations. (but note that Build() will default to enabling PenaltyLog() if no other penalties are specified)
[Android.Runtime.Register(".ctor", "()V", "")]
public Builder ();
- 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
StrictMode.ThreadPolicy.Builder(StrictMode+ThreadPolicy)
Initialize a Builder from an existing ThreadPolicy.
[Android.Runtime.Register(".ctor", "(Landroid/os/StrictMode$ThreadPolicy;)V", "")]
public Builder (Android.OS.StrictMode.ThreadPolicy? policy);
[<Android.Runtime.Register(".ctor", "(Landroid/os/StrictMode$ThreadPolicy;)V", "")>]
new Android.OS.StrictMode.ThreadPolicy.Builder : Android.OS.StrictMode.ThreadPolicy -> Android.OS.StrictMode.ThreadPolicy.Builder
Parameters
- policy
- StrictMode.ThreadPolicy
- 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.