InvalidPreferencesFormatException 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
InvalidPreferencesFormatException(Throwable) |
Constructs an InvalidPreferencesFormatException with the specified cause. |
InvalidPreferencesFormatException(String) |
Constructs an InvalidPreferencesFormatException with the specified detail message. |
InvalidPreferencesFormatException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
InvalidPreferencesFormatException(String, Throwable) |
Constructs an InvalidPreferencesFormatException with the specified detail message and cause. |
InvalidPreferencesFormatException(Throwable)
Constructs an InvalidPreferencesFormatException with the specified cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public InvalidPreferencesFormatException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : Java.Lang.Throwable -> Java.Util.Prefs.InvalidPreferencesFormatException
Parameters
- cause
- Throwable
the cause (which is saved for later retrieval by the
Throwable#getCause()
method).
- Attributes
Remarks
Constructs an InvalidPreferencesFormatException with the specified cause.
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
InvalidPreferencesFormatException(String)
Constructs an InvalidPreferencesFormatException with the specified detail message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public InvalidPreferencesFormatException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : string -> Java.Util.Prefs.InvalidPreferencesFormatException
Parameters
- message
- String
the detail message. The detail message is saved for
later retrieval by the Throwable#getMessage()
method.
- Attributes
Remarks
Constructs an InvalidPreferencesFormatException with the specified detail message.
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
InvalidPreferencesFormatException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected InvalidPreferencesFormatException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Prefs.InvalidPreferencesFormatException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Prefs.InvalidPreferencesFormatException
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
InvalidPreferencesFormatException(String, Throwable)
Constructs an InvalidPreferencesFormatException with the specified detail message and cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public InvalidPreferencesFormatException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Util.Prefs.InvalidPreferencesFormatException : string * Java.Lang.Throwable -> Java.Util.Prefs.InvalidPreferencesFormatException
Parameters
- message
- String
the detail message. The detail message is saved for
later retrieval by the Throwable#getMessage()
method.
- cause
- Throwable
the cause (which is saved for later retrieval by the
Throwable#getCause()
method).
- Attributes
Remarks
Constructs an InvalidPreferencesFormatException with the specified detail message and cause.
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.