dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlException Class
Properties Methods

In This Topic
    PgSqlException Class Members
    In This Topic

    The following tables list the members exposed by PgSqlException.

    Public Properties
     NameDescription
    Public PropertyGets an indication of the context in which the error occurred.  
    Public PropertyGets the name of the column, the error is associated with.  
    Public PropertyGets the name of the constraint, the error is associated with.  
    Public PropertyGets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from System.Exception)
    Public PropertyGets the name of the data type, the error is associated with.  
    Public PropertyGets a secondary error message.  
    Public PropertyGets the PgSqlError that caused the exception.  
    Public PropertyGets the SQLSTATE code for the error.  
    Public PropertyGets the query that caused the error.  
    Public PropertyGets the file name of the source-code location where the error occurred.  
    Public PropertyGets or sets a link to the help file associated with this exception. (Inherited from System.Exception)
    Public PropertyGets an optional suggestion what to do about the problem.  
    Public PropertyGets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from System.Exception)
    Public PropertyGets the System.Exception instance that caused the current exception. (Inherited from System.Exception)
    Public PropertyGets the error cursor position as 1-based index in the InternalQuery string.  
    Public PropertyGets the text of an internally-generated command that caused the error, for example, a SQL query performed by a PL/pgSQL function.  
    Public PropertyGets the line number of the source-code location where the error occurred.  
    Public PropertyOverridden. Returns a string representation of the error message information.  
    Public PropertyGets an error cursor position as index into the original query string.  
    Public PropertyGets the name of the source-code routine reporting the error.  
    Public PropertyGets the name of the schema containing the object, the error is associated with.  
    Public PropertyGets a value indicating a severity of the error.  
    Public PropertyGets the severity text of the error, as returned by the server.  
    Public PropertyGets or sets the name of the application or the object that causes the error. (Inherited from System.Exception)
    Public PropertyGets a string representation of the immediate frames on the call stack. (Inherited from System.Exception)
    Public PropertyGets the name of the table, the error is associated with.  
    Public PropertyGets the method that throws the current exception. (Inherited from System.Exception)
    Top
    Public Methods
     NameDescription
    Public MethodWhen overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions. (Inherited from System.Exception)
    Public MethodOverridden. Populates a SerializationInfo with the data needed to serialize the target object.  
    Public MethodGets the runtime type of the current instance. (Inherited from System.Exception)
    Public MethodReturns a string that contains the HRESULT of the error. (Inherited from System.Runtime.InteropServices.ExternalException)
    Top
    See Also