Class ClusterDescription
Represents information about a cluster.
public sealed class ClusterDescription : IEquatable<ClusterDescription>- Inheritance
- 
      
      ClusterDescription
- Implements
- Inherited Members
Constructors
- ClusterDescription(ClusterId, bool, Exception, ClusterType, IEnumerable<ServerDescription>)
- Initializes a new instance of the ClusterDescription class. 
Properties
- ClusterId
- Gets the cluster identifier. 
- DirectConnection
- Gets the DirectConnection. 
- DnsMonitorException
- Gets the last DNS monitor exception (null if there was none). 
- IsCompatibleWithDriver
- Gets a value indicating whether this cluster is compatible with the driver. 
- LogicalSessionTimeout
- Gets the logical session timeout. 
- Servers
- Gets the servers. 
- State
- Gets the cluster state. 
- Type
- Gets the cluster type. 
Methods
- Equals(ClusterDescription)
- Indicates whether the current object is equal to another object of the same type. 
- Equals(object)
- Determines whether the specified object is equal to the current object. 
- GetHashCode()
- Serves as the default hash function. 
- ToString()
- Returns a string that represents the current object. 
- WithDnsMonitorException(Exception)
- Returns a new ClusterDescription with a changed DnsMonitorException. 
- WithServerDescription(ServerDescription)
- Returns a new ClusterDescription with a changed ServerDescription. 
- WithType(ClusterType)
- Returns a new ClusterDescription with a changed ClusterType. 
- WithoutServerDescription(EndPoint)
- Returns a new ClusterDescription with a ServerDescription removed.