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 ...
随机推荐
- CF 432D
http://codeforces.com/problemset/problem/432/D 在前缀是后缀的前提下,求这个前缀在原串中出现了多少次 出现的次数可以用dp求解,前缀是后缀直接用Next判 ...
- python爬虫错误
错误描述 TypeError: list indices must be integers or slices, not str 错误缘由 取标签属性的时候, find_all()函数与find()函 ...
- BZOJ1568: [JSOI2008]Blue Mary开公司【李超树】
Description Input 第一行 :一个整数N ,表示方案和询问的总数. 接下来N行,每行开头一个单词"Query"或"Project". 若单词为Q ...
- 【消息队列值Beanstalk】beeanstalk初识
Beanstalk是一个高性能.轻量级的.分布式的.内存型的消息队列系统.最初设计的目的是想通过后台异步执行耗时的任务来降低高容量Web应用系统的页面访问延迟.其实Beanstalkd是典型的类Mem ...
- QLoo graphql engine 学习二 基本试用(kubernetes)
已经测试过docker&& docker-compose 的运行模式,下面测试下kubernetes的运行模式 kubernetes 我使用docker for mac qloo 安装 ...
- Packer 基本试用
安装 使用mac 系统 https://www.packer.io/downloads.html 配置环境变量 可选 sudo nano ~/.bash_profile export PATH=$PA ...
- bzoj 3119: Book
Description Wayne喜欢看书,更喜欢买书.某天Wayne在当当网上买书,买了很多很多书.Wayne有一个奇怪的癖好,就是第一本书的价格必须恰为X,而之后买的每一本书,若是比上一本更昂贵, ...
- Java 数组类型转字符串类型
Java手册 String public String() 初始化一个新创建的 String 对象,使其表示一个空字符序列.注意,由于 String 是不可变的,所以无需使用此构造方法. String ...
- nohup 后台运行命令
在Linux上部署zipkin,在SSH客户端执行java -jar zipkin-server-1.21.0-exec.jar,启动成功,在关闭SSH客户端后,运行的程序也同时终止了,怎样才能保证在 ...
- 需登录账号与密码的网页爬取demo
public static String connect(String dataUrl){ String result = null; try { HttpClient httpclient = ne ...