Npgsql API Documentation |

# NpgsqlException Methods

[This is preliminary documentation and subject to change.]

The methods of the NpgsqlException class are listed below. For a complete list of NpgsqlException class members, see the NpgsqlException Members topic.

#### Public Instance Methods

Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetBaseException (inherited from Exception) | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Exception) | When overridden in a derived class, sets the SerializationInfo with information about the exception.
GetType (inherited from Object) | Gets the Type of the current instance.
ToString | Format a .NET style exception string. Include all errors in the list, including any hints.

#### See Also

NpgsqlException Class | Npgsql Namespace