Npgsql.NpgsqlException.NpgsqlException C# (CSharp) Method

NpgsqlException() private method

private NpgsqlException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System
        private NpgsqlException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            IList<NpgsqlError> l = (IList<NpgsqlError>) info.GetValue("errors", typeof (IList<NpgsqlError>));

            errors = new NpgsqlError[l.Count];
            l.CopyTo(errors, 0);
        }

Same methods

NpgsqlException::NpgsqlException ( IList errors ) : System
NpgsqlException::NpgsqlException ( String message ) : System
NpgsqlException::NpgsqlException ( String message, Exception innerException ) : System