Click or drag to resize

ClusterDescription Constructor (ClusterId, ClusterConnectionMode, ClusterType, IEnumerableServerDescription)

Initializes a new instance of the ClusterDescription class.

Namespace:  MongoDB.Driver.Core.Clusters
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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