Click or drag to resize

ServerId Constructor

Initializes a new instance of the ServerId class.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public ServerId(
	ClusterId clusterId,
	EndPoint endPoint
)

Parameters

clusterId
Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier.
endPoint
Type: System.NetEndPoint
The end point.
See Also