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.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
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