eConnectSqlFault Class
The eConnectSqlFaults class enables you to catch and handle SQL specific exceptions. If you create a Service Reference to the eConnect Integration Service, a service operation returns an eConnectSQLFault object when a SQL error occurs.
Constructor
Name |
Description |
---|---|
eConnectSqlFault(eConnectSqlErrorCollection errors) |
Initializes an instance of the eConnectSqlFault class. |
Parameters
Name |
Data type |
Description |
---|---|---|
errors |
eConnectSqlErrorCollection |
A eConnectSqlErrorCollection object. |
Properties
Name |
Type |
Description |
---|---|---|
Errors |
eConnectSqlErrorCollection |
The eConnectSqlErrorCollection object that contains the SQL error information. |
Message |
string |
Specifies the error message associated with the exception. |
StackTrace |
string |
Specifies stack trace information associated with the exception. |