Table of Contents

Constructor ServerSettings

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

ServerSettings(Optional<TimeSpan>, Optional<TimeSpan>)

Initializes a new instance of the ServerSettings class.

public ServerSettings(Optional<TimeSpan> heartbeatInterval = default, Optional<TimeSpan> heartbeatTimeout = default)

Parameters

heartbeatInterval Optional<TimeSpan>

The heartbeat interval.

heartbeatTimeout Optional<TimeSpan>

The heartbeat timeout.