Table of Contents

Constructor ConnectionPoolSettings

Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.dll

ConnectionPoolSettings(Optional<TimeSpan>, Optional<int>, Optional<int>, Optional<int>, Optional<TimeSpan>, Optional<int>)

Initializes a new instance of the ConnectionPoolSettings class.

public ConnectionPoolSettings(Optional<TimeSpan> maintenanceInterval = default, Optional<int> maxConnections = default, Optional<int> minConnections = default, Optional<int> waitQueueSize = default, Optional<TimeSpan> waitQueueTimeout = default, Optional<int> maxConnecting = default)

Parameters

maintenanceInterval Optional<TimeSpan>

The maintenance interval.

maxConnections Optional<int>

The maximum number of connections.

minConnections Optional<int>

The minimum number of connections.

waitQueueSize Optional<int>

Size of the wait queue.

waitQueueTimeout Optional<TimeSpan>

The wait queue timeout.

maxConnecting Optional<int>

The maximum concurrently connecting connections.