The properties of the NpgsqlException class are listed below. For a complete list of NpgsqlException class members, see the NpgsqlException Members topic.
BaseMessage | Basic error message. All versions. |
Code | Error code. PostgreSQL 7.4 and up. |
Data | |
Detail | Detailed error message. PostgreSQL 7.4 and up. |
ErrorCode | |
Errors | Returns the entire list of errors provided by the PostgreSQL backend. |
ErrorSql | String containing the sql sent which produced this error. |
File | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. |
HelpLink | |
Hint | Suggestion to help resolve the error. PostgreSQL 7.4 and up. |
InnerException | |
Item | Provide access to the entire list of errors provided by the PostgreSQL backend. |
Line | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. |
Message | |
Position | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. |
Routine | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. |
Severity | Severity code. All versions. |
Source | |
StackTrace | |
TargetSite | |
Where | Trace back information. PostgreSQL 7.4 and up. |
NpgsqlException Class | Npgsql Namespace