Table of Contents

Class ServerSettings

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

Represents settings for a server.

public class ServerSettings
Inheritance
ServerSettings
Inherited Members

Constructors

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

Initializes a new instance of the ServerSettings class.

Properties

DefaultHeartbeatInterval

Gets the default heartbeat interval.

DefaultHeartbeatTimeout

Gets the default heartbeat timeout.

HeartbeatInterval

Gets the heartbeat interval.

HeartbeatTimeout

Gets the heartbeat timeout.

Methods

With(Optional<TimeSpan>, Optional<TimeSpan>)

Returns a new ServerSettings instance with some settings changed.