共用方式為


IStatementEventListener.StatementClosed(StatementEvent) Method

Definition

The driver calls this method on all StatementEventListeners registered on the connection when it detects that a PreparedStatement is closed.

[Android.Runtime.Register("statementClosed", "(Ljavax/sql/StatementEvent;)V", "GetStatementClosed_Ljavax_sql_StatementEvent_Handler:Javax.Sql.IStatementEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StatementClosed (Javax.Sql.StatementEvent? e);
[<Android.Runtime.Register("statementClosed", "(Ljavax/sql/StatementEvent;)V", "GetStatementClosed_Ljavax_sql_StatementEvent_Handler:Javax.Sql.IStatementEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StatementClosed : Javax.Sql.StatementEvent -> unit

Parameters

e
StatementEvent

an StatementEvent object describing the event of statement closed

Attributes

Remarks

The driver calls this method on all StatementEventListeners registered on the connection when it detects that a PreparedStatement is closed.

Added in 1.6.

Java documentation for javax.sql.StatementEventListener.statementClosed(javax.sql.StatementEvent).

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