語言

SQLException 建構函式

定義

多載

名稱 Description
SQLException()
SQLException(String)
SQLException(IntPtr, JniHandleOwnership)

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

SQLException(String, Throwable)

SQLException()

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

備註

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

適用於

SQLException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SQLException(string? error);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Database.SQLException : string -> Android.Database.SQLException

參數

error
String
屬性

備註

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

適用於

SQLException(IntPtr, JniHandleOwnership)

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

protected SQLException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.SQLException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.SQLException

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於

SQLException(String, Throwable)

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

參數

error
String
cause
Throwable
屬性

備註

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

適用於