Table of Contents

Class MongoDefaults

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll
public static class MongoDefaults
Inheritance
MongoDefaults
Inherited Members

Properties

AssignIdOnInsert

public static bool AssignIdOnInsert { get; set; }

Property Value

bool

AuthenticationMechanism

public static string AuthenticationMechanism { get; set; }

Property Value

string

ComputedWaitQueueSize

public static int ComputedWaitQueueSize { get; }

Property Value

int

ConnectTimeout

public static TimeSpan ConnectTimeout { get; set; }

Property Value

TimeSpan

GuidRepresentation

public static GuidRepresentation GuidRepresentation { get; set; }

Property Value

GuidRepresentation

LocalThreshold

public static TimeSpan LocalThreshold { get; set; }

Property Value

TimeSpan

MaxBatchCount

public static int MaxBatchCount { get; set; }

Property Value

int

MaxConnectionIdleTime

public static TimeSpan MaxConnectionIdleTime { get; set; }

Property Value

TimeSpan

MaxConnectionLifeTime

public static TimeSpan MaxConnectionLifeTime { get; set; }

Property Value

TimeSpan

MaxConnectionPoolSize

public static int MaxConnectionPoolSize { get; set; }

Property Value

int

MaxDocumentSize

public static int MaxDocumentSize { get; set; }

Property Value

int

MaxMessageLength

public static int MaxMessageLength { get; set; }

Property Value

int

MinConnectionPoolSize

public static int MinConnectionPoolSize { get; set; }

Property Value

int

OperationTimeout

public static TimeSpan OperationTimeout { get; set; }

Property Value

TimeSpan

ReadEncoding

public static UTF8Encoding ReadEncoding { get; set; }

Property Value

UTF8Encoding

ServerSelectionTimeout

public static TimeSpan ServerSelectionTimeout { get; set; }

Property Value

TimeSpan

SocketTimeout

public static TimeSpan SocketTimeout { get; set; }

Property Value

TimeSpan

TcpReceiveBufferSize

public static int TcpReceiveBufferSize { get; set; }

Property Value

int

TcpSendBufferSize

public static int TcpSendBufferSize { get; set; }

Property Value

int

WaitQueueMultiple

public static double WaitQueueMultiple { get; set; }

Property Value

double

WaitQueueSize

public static int WaitQueueSize { get; set; }

Property Value

int

WaitQueueTimeout

public static TimeSpan WaitQueueTimeout { get; set; }

Property Value

TimeSpan

WriteEncoding

public static UTF8Encoding WriteEncoding { get; set; }

Property Value

UTF8Encoding