C# 클래스 Npgsql.NpgsqlException

상속: System.Data.Common.DbException
파일 보기 프로젝트 열기: undeadlabs/Npgsql 1 사용 예제들

공개 메소드들

메소드 설명
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