Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoCommException"/> class.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="connection">The connection.</param>
 /// <param name="inner">The inner.</param>
 public MongoCommException(string message, Connection connection, Exception inner):base(message,inner){
     ConnectionString = connection.ConnectionString;
 }       
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoCommException"/> class.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="connection">The connection.</param>
 public MongoCommException(string message, Connection connection):this(message,connection,null){}