摘要: 1 MongoClientSettings mongoSettings = new MongoClientSettings(); 2 TimeSpan t = new TimeSpan(100); 3 mongoSettings.ConnectTimeout = t;//设置连接超时时长 4 mon 阅读全文
posted @ 2017-03-24 08:56 法号阿兴 阅读(1811) 评论(0) 推荐(0) 编辑