InvalidPreferencesFormatException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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。
本頁部分內容為基於 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。
本頁部分內容為基於 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
參數
- 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。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。