C# Класс Npgsql.NpgsqlException

Наследование: System.Data.Common.DbException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Get object data.

ToString ( ) : String

Format a .NET style exception string. Include all errors in the list, including any hints.

this ( Int32 Index ) : Npgsql.NpgsqlError

Provide access to the entire list of errors provided by the PostgreSQL backend.

Приватные методы

Метод Описание
AppendString ( StringWriter Stream, string Format, string Str ) : void

Append a line to the given Stream, first checking for zero-length.

NpgsqlException ( IList errors ) : System

Construct a backend error exception based on a list of one or more backend errors. The basic Exception.Message will be built from the first (usually the only) error in the list.

NpgsqlException ( SerializationInfo info, StreamingContext context ) : System
NpgsqlException ( String message ) : System
NpgsqlException ( String message, Exception innerException ) : System

Описание методов

GetObjectData() публичный Метод

Get object data.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат void

ToString() публичный Метод

Format a .NET style exception string. Include all errors in the list, including any hints.
public ToString ( ) : String
Результат String

this() публичный Метод

Provide access to the entire list of errors provided by the PostgreSQL backend.
public this ( Int32 Index ) : Npgsql.NpgsqlError
Index System.Int32
Результат Npgsql.NpgsqlError