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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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