Table of Contents

Method ConfigureConnection

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

ConfigureConnection(Func<ConnectionSettings, ConnectionSettings>)

Configures the connection settings.

public ClusterBuilder ConfigureConnection(Func<ConnectionSettings, ConnectionSettings> configurator)

Parameters

configurator Func<ConnectionSettings, ConnectionSettings>

The connection settings configurator delegate.

Returns

ClusterBuilder

A reconfigured cluster builder.