Table of Contents

Class HelloResult

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.Core.dll

Represents the result of a hello or legacy hello command.

public class HelloResult : IEquatable<HelloResult>
Inheritance
HelloResult
Implements
Derived
Inherited Members

Constructors

HelloResult(BsonDocument)

Initializes a new instance of the HelloResult class.

Properties

Compressions

Gets the compressor types.

ConnectionIdServerValue

Gets the connection id server value.

ElectionId

Gets the election identifier.

HasSaslSupportedMechs

Get whether SaslSupportedMechs was part of the hello response.

HelloOk

Gets whether the server support the hello command.

IsArbiter

Gets a value indicating whether this instance is an arbiter.

IsMongocryptd

Gets a value indicating whether this instance is a mongocryptd.

IsReplicaSetMember

Gets a value indicating whether this instance is a replica set member.

LastWriteTimestamp

Gets the last write timestamp.

LogicalSessionTimeout

Gets the logical session timeout.

MaxBatchCount

Gets the maximum number of documents in a batch.

MaxDocumentSize

Gets the maximum size of a document.

MaxMessageSize

Gets the maximum size of a message.

MaxWireVersion

Gets the maximum wire version.

Me

Gets the endpoint the server is claiming it is known as.

MinWireVersion

Gets the minimum wire version.

SaslSupportedMechs

Get the SaslSupportedMechs.

ServerType

Gets the type of the server.

ServiceId

Gets the service identifier.

SpeculativeAuthenticate

Get the SpeculativeAuthenticate reply.

Tags

Gets the replica set tags.

TopologyVersion

Get the TopologyVersion.

Wrapped

Gets the wrapped result document.

Methods

Equals(HelloResult)
Equals(object)
GetHashCode()
GetReplicaSetConfig()

Gets the replica set configuration.