Table of Contents

Class ReplicaSetConfig

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.dll

Represents the config of a replica set (as reported by one of the members of the replica set).

public sealed class ReplicaSetConfig : IEquatable<ReplicaSetConfig>
Inheritance
ReplicaSetConfig
Implements
Inherited Members

Constructors

ReplicaSetConfig(IEnumerable<EndPoint>, string, EndPoint, int?)

Initializes a new instance of the ReplicaSetConfig class.

Properties

Empty

Gets an empty replica set config.

Members

Gets the members.

Name

Gets the name of the replica set.

Primary

Gets the primary.

Version

Gets the replica set config version.

Methods

Equals(ReplicaSetConfig)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.