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 ...
随机推荐
- ubuntu16 Intellij Idea Install&config
1,下载idea二进制文件,有免费和不免费的. https://www.jetbrains.com/idea/download/#section=linux 2,解压下载文件. tar -xvzf . ...
- 接口测试工具Soapui5.1.2参数化之Properties20150924
上次用天气预报的来给大家演示了下如何创建项目.测试套件.测试用例的操作,今天演示下如何参数化,废话不多说,跟着操作即可: 1.在一个用例中有两个步骤,我们想将第一个步骤中的响应中的值,传入第二个步骤中 ...
- Ubuntu系统配置apt-get软件更新源
从别人那摘录的Ubuntu源,测的很好用 # 电子科技大学 (教育网) deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric main restricted u ...
- ImportError: No module named 'serial'
/******************************************************************************** * ImportError: No ...
- Map集合统计字母次数
Map集合练习:"asfefxAAcf34vrfdfse2-2asd--wdd"获取该字符串中,每一个字母出现的次数要求打印的结果是:a(2)c(1)...;思路:对结果分析发现, ...
- 7-8 List Leaves(25 分)
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. I ...
- 在 Windows 下安装 Oracle 11g XE (Express Edition)
Oracle 11g XE 是 Oracle 数据库的免费版本,支持标准版的大部分功能,11g XE 提供 Windows 和 Linux 版本. 做为免费的 Oracle 数据库版本,XE 的限制是 ...
- 实用的IP地址处理模块IPy
https://www.cnblogs.com/cherishry/p/5916935.html IPy安装 pip install IPy IP地址.网段的基本处理 IPy模块包含IP类,使用它可以 ...
- SpookyOTP
https://pypi.python.org/pypi/SpookyOTP/1.1.1 SpookyOTP 1.1.1 Downloads ↓ A lightweight Python 2/3 pa ...
- CentOS 7 安装Memcached服务
Memcached 简介 Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载.它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提高动态.数据库驱动网站 ...