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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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
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 propertyHeartbeatInterval
Gets the heartbeat interval.
Public propertyIsCompatibleWithDriver
Gets a value indicating whether this server is compatible with the driver.
Public propertyIsDataBearing
Gets a value indicating whether this instance is a data bearing server.
Public propertyLastUpdateTimestamp
Gets the last update timestamp (when the ServerDescription itself was last updated).
Public propertyLastWriteTimestamp
Gets the last write timestamp (from the lastWrite field of the isMaster result).
Public propertyLogicalSessionTimeout
Gets the logical session timeout.
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
Methods
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
See Also