Table of Contents

Constructor ReplicaSetConfig

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

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

Initializes a new instance of the ReplicaSetConfig class.

public ReplicaSetConfig(IEnumerable<EndPoint> members, string name, EndPoint primary, int? version)

Parameters

members IEnumerable<EndPoint>

The members.

name string

The name.

primary EndPoint

The primary.

version int?

The version.