WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
AddEsqlHandlerInserts Method (sqlCode, sqlState, sqlNativeError, sqlErrorText)
NamespacesIBM.Broker.PluginNBCastExceptionAddEsqlHandlerInserts(Int32, String, Int32, String)
SUMMARY
AddEsqlHandlerInserts adds information to the exception that allows an ESQL HANDLER to easily handle this exception by the specified sql code. This method constructs ESQL Handler ready inserts with the SQL code, state, native error and error text.
Declaration Syntax
C#Visual BasicVisual C++F#
public void AddEsqlHandlerInserts(
	int sqlCode,
	string sqlState,
	int sqlNativeError,
	string sqlErrorText
)
Public Sub AddEsqlHandlerInserts ( _
	sqlCode As Integer, _
	sqlState As String, _
	sqlNativeError As Integer, _
	sqlErrorText As String _
)
public:
void AddEsqlHandlerInserts(
	int sqlCode, 
	String^ sqlState, 
	int sqlNativeError, 
	String^ sqlErrorText
)
member AddEsqlHandlerInserts : 
        sqlCode:int * 
        sqlState:string * 
        sqlNativeError:int * 
        sqlErrorText:string -> unit 
Parameters
sqlCode (Int32)
The SQLCode integer value.
sqlState (String)
The SQLState string.
sqlNativeError (Int32)
The SQLNativeError integer value.
sqlErrorText (String)
The SQLErrorText string.

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0