ServerSettings Constructor |
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public ServerSettings(
Optional<TimeSpan> heartbeatInterval = null,
Optional<TimeSpan> heartbeatTimeout = null
)
Public Sub New (
Optional heartbeatInterval As Optional(Of TimeSpan) = Nothing,
Optional heartbeatTimeout As Optional(Of TimeSpan) = Nothing
)
new :
?heartbeatInterval : Optional<TimeSpan> *
?heartbeatTimeout : Optional<TimeSpan>
(* Defaults:
let _heartbeatInterval = defaultArg heartbeatInterval null
let _heartbeatTimeout = defaultArg heartbeatTimeout null
*)
-> ServerSettings
Parameters
- heartbeatInterval (Optional)
- Type: MongoDB.DriverOptionalTimeSpan
The heartbeat interval. - heartbeatTimeout (Optional)
- Type: MongoDB.DriverOptionalTimeSpan
The heartbeat timeout.
See Also