語言

InvalidPreferencesFormatException 建構函式

定義

多載

名稱 Description
InvalidPreferencesFormatException(Throwable)

構造一個包含指定原因的 InvalidPreferencesFormatException。

InvalidPreferencesFormatException(String)

構造一個包含指定詳細訊息的 InvalidPreferencesFormatException。

InvalidPreferencesFormatException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

InvalidPreferencesFormatException(String, Throwable)

建構一個包含指定細節訊息與原因的 InvalidPreferencesFormatException。

InvalidPreferencesFormatException(Throwable)

構造一個包含指定原因的 InvalidPreferencesFormatException。

[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

參數

cause
Throwable

原因(該方法會保存以供日後檢索 Throwable#getCause() )。

屬性

備註

構造一個包含指定原因的 InvalidPreferencesFormatException。

Java 文件 java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

InvalidPreferencesFormatException(String)

構造一個包含指定詳細訊息的 InvalidPreferencesFormatException。

[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

參數

message
String

細節訊息。 詳細訊息會被保存以供日後檢索 Throwable#getMessage() 。

屬性

備註

構造一個包含指定詳細訊息的 InvalidPreferencesFormatException。

Java 文件 java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(java.lang.String)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

InvalidPreferencesFormatException(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected InvalidPreferencesFormatException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Prefs.InvalidPreferencesFormatException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Prefs.InvalidPreferencesFormatException

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

InvalidPreferencesFormatException(String, Throwable)

建構一個包含指定細節訊息與原因的 InvalidPreferencesFormatException。

[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

參數

message
String

細節訊息。 詳細訊息會被保存以供日後檢索 Throwable#getMessage() 。

cause
Throwable

原因(該方法會保存以供日後檢索 Throwable#getCause() )。

屬性

備註

建構一個包含指定細節訊息與原因的 InvalidPreferencesFormatException。

Java 文件 java.util.prefs.InvalidPreferencesFormatException.InvalidPreferencesFormatException(java.lang.String, java.lang.Throwable)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於