StatementEvent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| StatementEvent(IPooledConnection, IPreparedStatement) |
Constructs a |
| StatementEvent(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| StatementEvent(IPooledConnection, IPreparedStatement, SQLException) |
Constructs a |
StatementEvent(IPooledConnection, IPreparedStatement)
Constructs a StatementEvent with the specified PooledConnection and
PreparedStatement.
[Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/PreparedStatement;)V", "")]
public StatementEvent(Javax.Sql.IPooledConnection? con, Java.Sql.IPreparedStatement? statement);
[<Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/PreparedStatement;)V", "")>]
new Javax.Sql.StatementEvent : Javax.Sql.IPooledConnection * Java.Sql.IPreparedStatement -> Javax.Sql.StatementEvent
Parameters
The PooledConnection that the closed or invalid
PreparedStatementis associated with.
- statement
- IPreparedStatement
The PreparedStatement that is bieng closed or is invalid
<p>
- Attributes
Remarks
Constructs a StatementEvent with the specified PooledConnection and PreparedStatement. The SQLException contained in the event defaults to null.
Added in 1.6.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
StatementEvent(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected StatementEvent(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Sql.StatementEvent : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Sql.StatementEvent
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
StatementEvent(IPooledConnection, IPreparedStatement, SQLException)
Constructs a StatementEvent with the specified PooledConnection,
PreparedStatement and SQLException
[Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/PreparedStatement;Ljava/sql/SQLException;)V", "")]
public StatementEvent(Javax.Sql.IPooledConnection? con, Java.Sql.IPreparedStatement? statement, Java.Sql.SQLException? exception);
[<Android.Runtime.Register(".ctor", "(Ljavax/sql/PooledConnection;Ljava/sql/PreparedStatement;Ljava/sql/SQLException;)V", "")>]
new Javax.Sql.StatementEvent : Javax.Sql.IPooledConnection * Java.Sql.IPreparedStatement * Java.Sql.SQLException -> Javax.Sql.StatementEvent
Parameters
The PooledConnection that the closed or invalid PreparedStatement
is associated with.
- statement
- IPreparedStatement
The PreparedStatement that is being closed or is invalid
- exception
- SQLException
The SQLException the driver is about to throw to
the application
- Attributes
Remarks
Constructs a StatementEvent with the specified PooledConnection, PreparedStatement and SQLException
Added in 1.6.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.