コード例 #1
0
ファイル: MongoCommException.cs プロジェクト: npenin/uss
 /// <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;
 }       
コード例 #2
0
ファイル: MongoCommException.cs プロジェクト: npenin/uss
 /// <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){}