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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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