eConnectSqlError Class


The eConnectSqlError class supports the eConnect .NET framework infrastructure and is not intended to be used directly form your code. The class provides information about a SQL exception.

Constructor

[spacer]

Name

Description

eConnectSqlError(int infoNumber, byte errorState, byte errorClass, string server, string errorMessage, string procedure, int lineNumber)

Initializes an instance of the eConnectSqlError class.


Parameters

[spacer]

Name

Data type

Description

infoNumber

int

Specifies a number for the exception.

errorState

byte

Specifies error state information for the exception.

errorClass

byte

Specifies the class of the exception.

server

string

Specifies the server.

errorMessage

string

Specifies the error message for the exception.

procedure

string

Specifies the procedure for the exception.

lineNumber

int

Specifies the line where the exception occurred.


Properties

[spacer]

Name

Type

Description

Class

byte

Specifies a class for the exception.

ErrorClass

byte

Specifies an error class for the exception.

LineNumber

int

Specifies the line number where the exception occurred.

Message

string

Specifies the message for the exception.

Number

int

Specifies the number for the exception.

Procedure

string

Specifies the procedure for the exception.

Server

string

Specifies the server for the exception.

Source

string

Specifies the source of the exception.

State

byte

Specifies state information for the exception.


See Also