Constructor ServerSettings
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
ServerSettings(Optional<TimeSpan>, Optional<TimeSpan>, Optional<ServerMonitoringMode>)
Initializes a new instance of the ServerSettings class.
public ServerSettings(Optional<TimeSpan> heartbeatInterval = default, Optional<TimeSpan> heartbeatTimeout = default, Optional<ServerMonitoringMode> serverMonitoringMode = default)