Constructor ClusterDescription
ClusterDescription(ClusterId, bool, Exception, ClusterType, IEnumerable<ServerDescription>)
Initializes a new instance of the ClusterDescription class.
public ClusterDescription(ClusterId clusterId, bool directConnection, Exception dnsMonitorException, ClusterType type, IEnumerable<ServerDescription> servers)
Parameters
clusterId
ClusterIdThe cluster identifier.
directConnection
boolWhether to make a direct connection.
dnsMonitorException
ExceptionThe last DNS monitor exception (null if there was none).
type
ClusterTypeThe type.
servers
IEnumerable<ServerDescription>The servers.