AnnotationFormatError 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AnnotationFormatError(Throwable) |
構造 |
| AnnotationFormatError(String) |
建立一個包含指定細節訊息的新訊息 |
| AnnotationFormatError(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| AnnotationFormatError(String, Throwable) |
建立包含指定細節訊息與原因的新文件 |
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
參數
- 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 相關的詳細訊息 並不會 自動包含在本錯誤的詳細訊息中。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。