語言

AnnotationFormatError 建構函式

定義

多載

名稱 Description
AnnotationFormatError(Throwable)

構造 AnnotationFormatError 一個包含指定原因及詳細訊息的 新 (cause == null ? null : cause.toString()) (通常包含 的 cause類別與細節訊息)。

AnnotationFormatError(String)

建立一個包含指定細節訊息的新訊息 AnnotationFormatError 。

AnnotationFormatError(IntPtr, JniHandleOwnership)

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

AnnotationFormatError(String, Throwable)

建立包含指定細節訊息與原因的新文件 AnnotationFormatError 。

AnnotationFormatError(Throwable)

構造 AnnotationFormatError 一個包含指定原因及詳細訊息的 新 (cause == null ? null : cause.toString()) (通常包含 的 cause類別與細節訊息)。

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public AnnotationFormatError(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Lang.Annotation.AnnotationFormatError : Java.Lang.Throwable -> Java.Lang.Annotation.AnnotationFormatError

參數

cause
Throwable

原因(允許一個 null 值,表示原因不存在或未知。)

屬性

備註

構造 AnnotationFormatError 一個包含指定原因及詳細訊息的 新 (cause == null ? null : cause.toString()) (通常包含 的 cause類別與細節訊息)。

的 java.lang.annotation.AnnotationFormatError.AnnotationFormatError(java.lang.Throwable)Java 檔。

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

適用於

AnnotationFormatError(String)

建立一個包含指定細節訊息的新訊息 AnnotationFormatError 。

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

參數

message
String

細節訊息。

屬性

備註

建立一個包含指定細節訊息的新訊息 AnnotationFormatError 。

的 java.lang.annotation.AnnotationFormatError.AnnotationFormatError(java.lang.String)Java 檔。

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

適用於

AnnotationFormatError(IntPtr, JniHandleOwnership)

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

protected AnnotationFormatError(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Annotation.AnnotationFormatError : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Annotation.AnnotationFormatError

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

AnnotationFormatError(String, Throwable)

建立包含指定細節訊息與原因的新文件 AnnotationFormatError 。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public AnnotationFormatError(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Lang.Annotation.AnnotationFormatError : string * Java.Lang.Throwable -> Java.Lang.Annotation.AnnotationFormatError

參數

message
String

細節訊息

cause
Throwable

原因(允許一個 null 值,表示原因不存在或未知。)

屬性

備註

建立包含指定細節訊息與原因的新文件 AnnotationFormatError 。 請注意,與 cause 相關的詳細訊息 並不會 自動包含在本錯誤的詳細訊息中。

的 java.lang.annotation.AnnotationFormatError.AnnotationFormatError(java.lang.String, java.lang.Throwable)Java 檔。

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

適用於