Method ConfigureConnectionPool
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.Core.dll
ConfigureConnectionPool(Func<ConnectionPoolSettings, ConnectionPoolSettings>)
Configures the connection pool settings.
public ClusterBuilder ConfigureConnectionPool(Func<ConnectionPoolSettings, ConnectionPoolSettings> configurator)
Parameters
configurator
Func<ConnectionPoolSettings, ConnectionPoolSettings>The connection pool settings configurator delegate.
Returns
- ClusterBuilder
A reconfigured cluster builder.