Initializes a new instance of the
ServerId class.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public ServerId(
ClusterId clusterId,
EndPoint endPoint
)
Public Sub New (
clusterId As ClusterId,
endPoint As EndPoint
)
new :
clusterId : ClusterId *
endPoint : EndPoint -> ServerId
Parameters
- clusterId
- Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier. - endPoint
- Type: System.NetEndPoint
The end point.
See Also