Class MongoDefaults
Default values for various Mongo settings.
- Inheritance
-
Mongo
Defaults
- Inherited Members
Properties
AssignIdOnInsert
Gets or sets whether the driver should assign a value to empty Ids on Insert.
Property Value
AuthenticationMechanism
Gets or sets the default authentication mechanism.
Property Value
ComputedWaitQueueSize
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
[Obsolete("This property will be removed in a later release.")]
public static int ComputedWaitQueueSize { get; }
Property Value
ConnectTimeout
Gets or sets the connect timeout.
Property Value
GuidRepresentation
Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation).
[Obsolete("Configure serializers instead.")]
public static GuidRepresentation GuidRepresentation { get; set; }
Property Value
LocalThreshold
Gets or sets the default local threshold.
Property Value
MaxBatchCount
Gets or sets the maximum batch count.
Property Value
MaxConnectionIdleTime
Gets or sets the max connection idle time.
Property Value
MaxConnectionLifeTime
Gets or sets the max connection life time.
Property Value
MaxConnectionPoolSize
Gets or sets the max connection pool size.
Property Value
MaxDocumentSize
Gets or sets the max document size
Property Value
MaxMessageLength
Gets or sets the max message length.
Property Value
MinConnectionPoolSize
Gets or sets the min connection pool size.
Property Value
OperationTimeout
Gets or sets the operation timeout.
Property Value
ReadEncoding
Gets or sets the Read Encoding.
Property Value
ServerSelectionTimeout
Gets or sets the server selection timeout.
Property Value
SocketTimeout
Gets or sets the socket timeout.
Property Value
TcpReceiveBufferSize
Gets or sets the TCP receive buffer size.
Property Value
TcpSendBufferSize
Gets or sets the TCP send buffer size.
Property Value
WaitQueueMultiple
Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize).
[Obsolete("This property will be removed in a later release.")]
public static double WaitQueueMultiple { get; set; }
Property Value
WaitQueueSize
Gets or sets the wait queue size (see also WaitQueueMultiple).
[Obsolete("This property will be removed in a later release.")]
public static int WaitQueueSize { get; set; }
Property Value
WaitQueueTimeout
Gets or sets the wait queue timeout.
Property Value
WriteEncoding
Gets or sets the Write Encoding.