IStatementEventListener.StatementErrorOccurred(StatementEvent) Method
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.
The driver calls this method on all StatementEventListener
s
registered on the connection when it detects that a
PreparedStatement
is invalid.
[Android.Runtime.Register("statementErrorOccurred", "(Ljavax/sql/StatementEvent;)V", "GetStatementErrorOccurred_Ljavax_sql_StatementEvent_Handler:Javax.Sql.IStatementEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StatementErrorOccurred (Javax.Sql.StatementEvent? e);
[<Android.Runtime.Register("statementErrorOccurred", "(Ljavax/sql/StatementEvent;)V", "GetStatementErrorOccurred_Ljavax_sql_StatementEvent_Handler:Javax.Sql.IStatementEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StatementErrorOccurred : Javax.Sql.StatementEvent -> unit
Parameters
an StatementEvent object describing the event of statement error occurred
- Attributes
Remarks
The driver calls this method on all StatementEventListener
s registered on the connection when it detects that a PreparedStatement
is invalid. The driver calls this method just before it throws the SQLException
, contained in the given event, to the application.
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.