Initializes a new instance of the
ServerId class.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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