ReplicaSetConfig Constructor |
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntaxpublic ReplicaSetConfig(
IEnumerable<EndPoint> members,
string name,
EndPoint primary,
Nullable<int> version
)
Public Sub New (
members As IEnumerable(Of EndPoint),
name As String,
primary As EndPoint,
version As Nullable(Of Integer)
)
new :
members : IEnumerable<EndPoint> *
name : string *
primary : EndPoint *
version : Nullable<int> -> ReplicaSetConfig
Parameters
- members
- Type: System.Collections.GenericIEnumerableEndPoint
The members. - name
- Type: SystemString
The name. - primary
- Type: System.NetEndPoint
The primary. - version
- Type: SystemNullableInt32
The version.
See Also