Click or drag to resize

ServerSettings Constructor

Initializes a new instance of the ServerSettings class.

Namespace:  MongoDB.Driver.Core.Configuration
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public ServerSettings(
	Optional<TimeSpan> heartbeatInterval = null,
	Optional<TimeSpan> heartbeatTimeout = null
)

Parameters

heartbeatInterval (Optional)
Type: MongoDB.DriverOptionalTimeSpan
The heartbeat interval.
heartbeatTimeout (Optional)
Type: MongoDB.DriverOptionalTimeSpan
The heartbeat timeout.
See Also