語言

IllformedLocaleException 建構函式

定義

多載

名稱 Description
IllformedLocaleException()

建立一個 IllformedLocaleException 新的訊息,沒有詳細訊息,錯誤索引 -1。

IllformedLocaleException(String)

以給定訊息和 -1 作為錯誤索引,構造一個新訊息 IllformedLocaleException

IllformedLocaleException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

IllformedLocaleException(String, Int32)

用給定訊息和錯誤索引構造一個新 IllformedLocaleException 訊息。

IllformedLocaleException()

建立一個 IllformedLocaleException 新的訊息,沒有詳細訊息,錯誤索引 -1。

[Android.Runtime.Register(".ctor", "()V", "")]
public IllformedLocaleException();
屬性

備註

建立一個 IllformedLocaleException 新的訊息,沒有詳細訊息,錯誤索引 -1。

java.util.IllformedLocaleException.IllformedLocaleException()Java 檔。

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

適用於

IllformedLocaleException(String)

以給定訊息和 -1 作為錯誤索引,構造一個新訊息 IllformedLocaleException

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public IllformedLocaleException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.IllformedLocaleException : string -> Java.Util.IllformedLocaleException

參數

message
String

訊息

屬性

備註

以給定訊息和 -1 作為錯誤索引,構造一個新訊息 IllformedLocaleException

java.util.IllformedLocaleException.IllformedLocaleException(java.lang.String)Java 檔。

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

適用於

IllformedLocaleException(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

IllformedLocaleException(String, Int32)

用給定訊息和錯誤索引構造一個新 IllformedLocaleException 訊息。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public IllformedLocaleException(string? message, int errorIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Util.IllformedLocaleException : string * int -> Java.Util.IllformedLocaleException

參數

message
String

訊息

errorIndex
Int32

指數

屬性

備註

用給定訊息和錯誤索引構造一個新 IllformedLocaleException 訊息。 錯誤指數是從錯誤形狀值起始點到解析首次偵測錯誤點的近似偏移量。 負的錯誤指數值表示該錯誤指數不適用或未知。

java.util.IllformedLocaleException.IllformedLocaleException(java.lang.String, int)Java 檔。

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

適用於