語言

ConnectionEvent 建構函式

定義

多載

名稱 Description
ConnectionEvent(IPooledConnection)

以該ConnectionEvent物件初始化的PooledConnection物件。

ConnectionEvent(IPooledConnection, SQLException)

建 ConnectionEvent 構一個以該物件 PooledConnection 初始化的物件,物件 SQLException 與物件。

ConnectionEvent(IntPtr, JniHandleOwnership)

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

ConnectionEvent(IPooledConnection)

以該ConnectionEvent物件初始化的PooledConnection物件。

[Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;)V", "")]
public ConnectionEvent(Javax.Sql.IPooledConnection? con);
[<Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;)V", "")>]
new Javax.Sql.ConnectionEvent : Javax.Sql.IPooledConnection -> Javax.Sql.ConnectionEvent

參數

con
IPooledConnection

事件來源的集合連線

屬性

備註

以該ConnectionEvent物件初始化的PooledConnection物件。 SQLException 預設為 null。

的 javax.sql.ConnectionEvent.ConnectionEvent(javax.sql.PooledConnection)Java 檔。

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

適用於

ConnectionEvent(IPooledConnection, SQLException)

建 ConnectionEvent 構一個以該物件 PooledConnection 初始化的物件,物件 SQLException 與物件。

[Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/SQLException;)V", "")]
public ConnectionEvent(Javax.Sql.IPooledConnection? con, Java.Sql.SQLException? ex);
[<Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/SQLException;)V", "")>]
new Javax.Sql.ConnectionEvent : Javax.Sql.IPooledConnection * Java.Sql.SQLException -> Javax.Sql.ConnectionEvent

參數

con
IPooledConnection

事件來源的集合連線

ex
SQLException

即將丟給應用程式的 SQLException

屬性

備註

建 ConnectionEvent 構一個以該物件 PooledConnection 初始化的物件,物件 SQLException 與物件。

的 javax.sql.ConnectionEvent.ConnectionEvent(javax.sql.PooledConnection, java.sql.SQLException)Java 檔。

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

適用於

ConnectionEvent(IntPtr, JniHandleOwnership)

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

protected ConnectionEvent(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Sql.ConnectionEvent : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Sql.ConnectionEvent

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

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

適用於