ClusterDescription Constructor (ClusterId, ClusterConnectionMode, ClusterType, IEnumerableServerDescription) |
Note: This API is now obsolete.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax [ObsoleteAttribute("Use the constructor that has a directConnection parameter.")]
public ClusterDescription(
ClusterId clusterId,
ClusterConnectionMode connectionMode,
ClusterType type,
IEnumerable<ServerDescription> servers
)
<ObsoleteAttribute("Use the constructor that has a directConnection parameter.")>
Public Sub New (
clusterId As ClusterId,
connectionMode As ClusterConnectionMode,
type As ClusterType,
servers As IEnumerable(Of ServerDescription)
)
[<ObsoleteAttribute("Use the constructor that has a directConnection parameter.")>]
new :
clusterId : ClusterId *
connectionMode : ClusterConnectionMode *
type : ClusterType *
servers : IEnumerable<ServerDescription> -> ClusterDescription
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