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 ...
随机推荐
- nginx brotli 压缩试用
brotli 的压缩比相对gzip 有好多提升 测试试用docker 测试代码 https://github.com/rongfengliang/rollup-babel-demolibrary 运行 ...
- 渐进式 jpg 和 交错式 gif png 提高图片站体验
渐进式 jpg 和 交错式 gif png 提高图片站体验= 渐进式的JPG比原始JPG还要小!! 让图片性感的露给你看~google picasa 和 smashing magazine 都有用到搞 ...
- Chrome 解决flash问题
Chrome 无法显示使用插件的内容 Chrome 不再支持很多插件.不过网站创建者已经通过更安全的方式,将多数这类功能添加到 Chrome 中. 为什么 NPAPI 插件现在无法正常运行过去,许多插 ...
- (判断)window.open()窗口被关闭后执行事件
$(function() { // start ready var $article_share=$('#body .article').find('li.share'); // $article_s ...
- Centos 6 安装 配置 oracle11g R2
1.安装centos6.3_64位: 下载地址:http://mirror.bit.edu.cn/centos/6.3/isos/x86_64/ CentOS-6.3-x86_64-bin-DVD1. ...
- 【路由达人】简单两步搞定小米路由新增功能-DDNS(解析域名地址转向在线工具)
DDNS(Dynamic Domain Name Server)是动态域名服务的缩写! 简单来说目前ISP大多为我们提供动态IP(如ADSL拨号上网),而很多设备或服务需要通过远程访问时需要一个固定的 ...
- emacs之配置7,tabbar插件
emacsConfig/tabbar-setting.el (require 'tabbar) (tabbar-mode ) (global-set-key (kbd "<M-up&g ...
- mediawiki 安装 部署 配置 使用学习
学习资源: https://blog.csdn.net/gao36951/article/details/43965527 http://blog.csdn.net/hualichenxi123/ar ...
- POJ 2395 Out of Hay(求最小生成树的最长边+kruskal)
Out of Hay Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18472 Accepted: 7318 Descr ...
- PHP数组键值使用单引号和双引号和无符号的区别
PHP数组键值使用单引号和双引号和无符号的区别 方法/步骤 1 第一种:$array['key']此单引号键值模式可以直接被解析为一个数组即$array 第二种:$array["key&qu ...