Click or drag to resize

HelloResult Class

Represents the result of a hello or legacy hello command.
Inheritance Hierarchy

Namespace:  MongoDB.Driver.Core.Connections
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public class HelloResult : IEquatable<HelloResult>

The HelloResult type exposes the following members.

Constructors
  NameDescription
Public methodHelloResult
Initializes a new instance of the HelloResult class.
Top
Properties
  NameDescription
Public propertyCompressions
Gets the compressor types.
Public propertyConnectionIdServerValue
Gets the connection id server value.
Public propertyElectionId
Gets the election identifier.
Public propertyHasSaslSupportedMechs
Get whether SaslSupportedMechs was part of the hello response.
Public propertyHelloOk
Gets whether the server support the hello command.
Public propertyIsArbiter
Gets a value indicating whether this instance is an arbiter.
Public propertyIsReplicaSetMember
Gets a value indicating whether this instance is a replica set member.
Public propertyLastWriteTimestamp
Gets the last write timestamp.
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 propertyMaxWireVersion
Gets the maximum wire version.
Public propertyMe
Gets the endpoint the server is claiming it is known as.
Public propertyMinWireVersion
Gets the minimum wire version.
Public propertySaslSupportedMechs
Get the SaslSupportedMechs.
Public propertyServerType
Gets the type of the server.
Public propertyServiceId
Gets the service identifier.
Public propertySpeculativeAuthenticate
Get the SpeculativeAuthenticate reply.
Public propertyTags
Gets the replica set tags.
Public propertyTopologyVersion
Get the TopologyVersion.
Public propertyWrapped
Gets the wrapped result document.
Top
Methods
  NameDescription
Public methodEquals(HelloResult)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetReplicaSetConfig
Gets the replica set configuration.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
See Also