Click or drag to resize
ServerDescription Class
Represents information about a server.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.ServersServerDescription

Namespace: MongoDB.Driver.Core.Servers
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.1.0
Syntax
public sealed class ServerDescription : IEquatable<ServerDescription>

The ServerDescription type exposes the following members.

Constructors
  NameDescription
Public methodServerDescription
Initializes a new instance of the ServerDescription class.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(ServerDescription)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodWith
Returns a new instance of ServerDescription with some values changed.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
Properties
  NameDescription
Public propertyAverageRoundTripTime
Gets the average round trip time.
Public propertyCanonicalEndPoint
Gets the canonical end point. This is the endpoint that the cluster knows this server by. Currently, it only applies to a replica set config and will match what is in the replica set configuration.
Public propertyElectionId
Gets the election identifier.
Public propertyEndPoint
Gets the end point.
Public propertyHeartbeatException
Gets the most recent heartbeat exception.
Public propertyMaxBatchCount
Gets the maximum number of documents in a batch.
Public propertyMaxDocumentSize
Gets the maximum size of a document.
Public propertyMaxMessageSize
Gets the maximum size of a message.
Public propertyMaxWireDocumentSize
Gets the maximum size of a wire document.
Public propertyReplicaSetConfig
Gets the replica set configuration.
Public propertyServerId
Gets the server identifier.
Public propertyState
Gets the server state.
Public propertyTags
Gets the replica set tags.
Public propertyType
Gets the server type.
Public propertyVersion
Gets the server version.
Public propertyWireVersionRange
Gets the wire version range.
Top
See Also