Constructor ClusterDescription
ClusterDescription(ClusterId, ClusterConnectionMode, ClusterType, IEnumerable<ServerDescription>)
Initializes a new instance of the ClusterDescription class.
[Obsolete("Use the constructor that has a directConnection parameter.")]
public ClusterDescription(ClusterId clusterId, ClusterConnectionMode connectionMode, ClusterType type, IEnumerable<ServerDescription> servers)
Parameters
clusterIdClusterIdThe cluster identifier.
connectionModeClusterConnectionModeThe connection mode.
typeClusterTypeThe type.
serversIEnumerable<ServerDescription>The servers.
ClusterDescription(ClusterId, ClusterConnectionMode, Exception, ClusterType, IEnumerable<ServerDescription>)
Initializes a new instance of the ClusterDescription class.
[Obsolete("Use the constructor that has a directConnection parameter.")]
public ClusterDescription(ClusterId clusterId, ClusterConnectionMode connectionMode, Exception dnsMonitorException, ClusterType type, IEnumerable<ServerDescription> servers)
Parameters
clusterIdClusterIdThe cluster identifier.
connectionModeClusterConnectionModeThe connection mode.
dnsMonitorExceptionExceptionThe last DNS monitor exception (null if there was none).
typeClusterTypeThe type.
serversIEnumerable<ServerDescription>The servers.
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
clusterIdClusterIdThe cluster identifier.
directConnectionbool?Whether to make a direct connection.
dnsMonitorExceptionExceptionThe last DNS monitor exception (null if there was none).
typeClusterTypeThe type.
serversIEnumerable<ServerDescription>The servers.