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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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