Method ConfigureTcp
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
ConfigureTcp(Func<TcpStreamSettings, TcpStreamSettings>)
Configures the TCP stream settings.
public ClusterBuilder ConfigureTcp(Func<TcpStreamSettings, TcpStreamSettings> configurator)
Parameters
configurator
Func<TcpStreamSettings, TcpStreamSettings>The TCP stream settings configurator delegate.
Returns
- ClusterBuilder
A reconfigured cluster builder.