Click or drag to resize

ClusterDescription Constructor

Initializes a new instance of the ClusterDescription class.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public ClusterDescription(
	ClusterId clusterId,
	ClusterConnectionMode connectionMode,
	ClusterType type,
	IEnumerable<ServerDescription> servers
)

Parameters

clusterId
Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier.
connectionMode
Type: MongoDB.Driver.Core.ClustersClusterConnectionMode
The connection mode.
type
Type: MongoDB.Driver.Core.ClustersClusterType
The type.
servers
Type: System.Collections.GenericIEnumerableServerDescription
The servers.
See Also