Npgsql API Documentation

NpgsqlException Class

[This is preliminary documentation and subject to change.]

The exception that is thrown when the PostgreSQL backend reports errors.

For a list of all members of this type, see NpgsqlException Members.

System.Object
   Exception
      ApplicationException
         NpgsqlException

[Visual Basic]
<Serializable>
<DefaultMember(MemberName="Item")>
NotInheritable Public Class NpgsqlException
Inherits ApplicationException
[C#]
[Serializable]
[DefaultMember(MemberName="Item")]
public sealed class NpgsqlException : ApplicationException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Npgsql

Assembly: Npgsql (in Npgsql.dll)

See Also

NpgsqlException Members | Npgsql Namespace