MongoServerSettings Members
The MongoServerSettings type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MongoServerSettings()()()() |
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
|
|
| MongoServerSettings(ConnectionMode, TimeSpan, MongoCredentials, GuidRepresentation, Boolean, TimeSpan, TimeSpan, Int32, Int32, String, SafeMode, IEnumerable<(Of <<'(MongoServerAddress>)>>), Boolean, TimeSpan, Int32, TimeSpan) |
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a clone of the settings.
|
|
| Equals |
Compares two MongoServerSettings instances.
(Overrides Object..::..Equals(Object).) |
|
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
| Freeze |
Freezes the settings to prevent any further changes to them.
|
|
| GetHashCode |
Gets the hash code.
(Overrides Object..::..GetHashCode()()()().) |
|
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
| ToString |
Returns a string representation of the settings.
(Overrides Object..::..ToString()()()().) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToBson(Type) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, BsonBinaryWriterSettings) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBson(Type, IBsonSerializationOptions, BsonBinaryWriterSettings) | Overloaded.
Converts an object to a BSON document byte array.
(Defined by BsonExtensionMethods.) |
|
| ToBsonDocument(Type) | Overloaded.
Converts an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
|
| ToBsonDocument(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, IBsonSerializationOptions) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, JsonWriterSettings) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
|
| ToJson(Type, IBsonSerializationOptions, JsonWriterSettings) | Overloaded.
Converts an object to a JSON string.
(Defined by BsonExtensionMethods.) |
Properties
| Name | Description | |
|---|---|---|
| AddressFamily |
Gets the AddressFamily for the IPEndPoint (derived from the IPv6 setting).
|
|
| ConnectionMode |
Gets or sets the connection mode.
|
|
| ConnectTimeout |
Gets or sets the connect timeout.
|
|
| DefaultCredentials |
Gets or sets the default credentials.
|
|
| GuidRepresentation |
Gets or sets the representation to use for Guids.
|
|
| IPv6 |
Gets or sets whether to use IPv6.
|
|
| IsFrozen |
Gets whether the settings have been frozen to prevent further changes.
|
|
| MaxConnectionIdleTime |
Gets or sets the max connection idle time.
|
|
| MaxConnectionLifeTime |
Gets or sets the max connection life time.
|
|
| MaxConnectionPoolSize |
Gets or sets the max connection pool size.
|
|
| MinConnectionPoolSize |
Gets or sets the min connection pool size.
|
|
| ReplicaSetName |
Gets or sets the name of the replica set.
|
|
| SafeMode |
Gets or sets the SafeMode to use.
|
|
| Server |
Gets or sets the address of the server (see also Servers if using more than one address).
|
|
| Servers |
Gets or sets the list of server addresses (see also Server if using only one address).
|
|
| SlaveOk |
Gets or sets whether queries should be sent to secondary servers.
|
|
| SocketTimeout |
Gets or sets the socket timeout.
|
|
| WaitQueueSize |
Gets or sets the wait queue size.
|
|
| WaitQueueTimeout |
Gets or sets the wait queue timeout.
|
See Also
MongoServerSettings Members的更多相关文章
- AutoMapper:Unmapped members were found. Review the types and members below. Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type
异常处理汇总-后端系列 http://www.cnblogs.com/dunitian/p/4523006.html 应用场景:ViewModel==>Mode映射的时候出错 AutoMappe ...
- [XAF] How to define a business class at runtime or allow end-users to configure its members via the application UI?
How to define a business class at runtime or allow end-users to configure its members via the applic ...
- JavaScript Patterns 5.6 Static Members
Public Static Members // constructor var Gadget = function (price) { this.price = price; }; // a sta ...
- Effective Java 13 Minimize the accessibility of classes and members
Information hiding is important for many reasons, most of which stem from the fact that it decouples ...
- C++类设计2(Class with pointer members)
二 Class with pointer members(Class String) 1. 测试代码(使用效果) int main() { String s1(), String s2("h ...
- 【转载】#303 - Accessibility of Class Members
Members of a class can have different kinds of accessibility. An accessibility keyword indicates wha ...
- Static Classes and Static Class Members
Static Classes and Static Class Members A static class is basically the same as a non-static class, ...
- Private Members in JavaScript
Private Members in JavaScript Douglas Crockford www.crockford.com JavaScript is the world's most mis ...
- (转) Special members
原地址:http://www.cplusplus.com/doc/tutorial/classes2/ Special members [NOTE: This chapter requires p ...
随机推荐
- 各种Java加密算法
如基本的单向加密算法: BASE64 严格地说,属于编码格式,而非加密算法 MD5(Message Digest algorithm 5,信息摘要算法) SHA(Secure Hash Algorit ...
- java编程排序之自定义类型的集合,按业务需求排序
自定义引用类型放入集合中,按实际业务需求进行排序的两种思路 第一种思路: (1)自定义实体类实现java.lang.Comparable接口,重写public int compareTo(Object ...
- jdbc-DAO的实现
什么是 DAO DAO(Data Access Object)是一个数据访问接口,夹在业务逻辑与数据库资源中间. 在核心J2EE模式中是这样介绍DAO模式的:为了建立一个健壮的J2EE应用,应该将所有 ...
- Python编程核心内容 ---- 切片、迭代和列表生成式
Python版本:3.6.2 操作系统:Windows 作者:SmallWZQ 最近太忙啦.很多事情需要自己处理,感觉时间不够用啊~~~~今后,博客更新时间可能会慢下来(但不能荒废了学习,要学习就 ...
- eaccelerator详解
之前在看书的时候看到一个eaccelerator,以前也没用过 不知道是啥东东,不知道以后会用到不,先mark一下吧 eAccelerator是一个自由开放源码php加速器,优化和动态内容缓存,提高了 ...
- 注解反射原理(IOC框架)
IOC(Inversion of Control):控制反转.采用配置文件和注解的方式,将成员变量通过反射注入,舍弃new的方式,降低了耦合度. 反射:JAVA反射机制是在运行状态中,对于任意一个类, ...
- Java 正则表达式详细实例解析
案例1:判断字符串是否是abc package Regex; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * ...
- mysql-3 数据表的创建、增删改查
1.创建数据表 通用语法:CREATE TABLE table_name (column_name column_type); CREATE TABLE IF NOT EXISTS `csj_tbl` ...
- 1021 docker prometheus监控体系
jmeter plugin监控的信息很少,只有cpu.内存.网络IO,但这些是不够的.例如对于分析mysql数据库的慢查询.最大连接数等更加细密度的信息. 服务端稳定测试的三个前提: 1.应用级别的自 ...
- phpcms模块开发中的小问题及解决方法
1.模块菜单中文名出错 在编写安装模块时候可能需要更改extention.inc.php中定义中文名称,由于反复安装或者通过phpcms的扩展->菜单管理 修改菜单名会导致中文名失败.解决办法很 ...