Click or drag to resize

IsMasterResult Class

Note: This API is now obsolete.

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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
[ObsoleteAttribute("Use HelloResult instead.")]
public sealed class IsMasterResult : HelloResult

The IsMasterResult type exposes the following members.

Constructors
  NameDescription
Public methodIsMasterResult
Initializes a new instance of the IsMasterResult class.
Top
Properties
  NameDescription
Public propertyCompressions
Gets the compressor types.
(Inherited from HelloResult.)
Public propertyConnectionIdServerValue
Gets the connection id server value.
(Inherited from HelloResult.)
Public propertyElectionId
Gets the election identifier.
(Inherited from HelloResult.)
Public propertyHasSaslSupportedMechs
Get whether SaslSupportedMechs was part of the hello response.
(Inherited from HelloResult.)
Public propertyHelloOk
Gets whether the server support the hello command.
(Inherited from HelloResult.)
Public propertyIsArbiter
Gets a value indicating whether this instance is an arbiter.
(Inherited from HelloResult.)
Public propertyIsReplicaSetMember
Gets a value indicating whether this instance is a replica set member.
(Inherited from HelloResult.)
Public propertyLastWriteTimestamp
Gets the last write timestamp.
(Inherited from HelloResult.)
Public propertyLogicalSessionTimeout
Gets the logical session timeout.
(Inherited from HelloResult.)
Public propertyMaxBatchCount
Gets the maximum number of documents in a batch.
(Inherited from HelloResult.)
Public propertyMaxDocumentSize
Gets the maximum size of a document.
(Inherited from HelloResult.)
Public propertyMaxMessageSize
Gets the maximum size of a message.
(Inherited from HelloResult.)
Public propertyMaxWireVersion
Gets the maximum wire version.
(Inherited from HelloResult.)
Public propertyMe
Gets the endpoint the server is claiming it is known as.
(Inherited from HelloResult.)
Public propertyMinWireVersion
Gets the minimum wire version.
(Inherited from HelloResult.)
Public propertySaslSupportedMechs
Get the SaslSupportedMechs.
(Inherited from HelloResult.)
Public propertyServerType
Gets the type of the server.
(Inherited from HelloResult.)
Public propertyServiceId
Gets the service identifier.
(Inherited from HelloResult.)
Public propertySpeculativeAuthenticate
Get the SpeculativeAuthenticate reply.
(Inherited from HelloResult.)
Public propertyTags
Gets the replica set tags.
(Inherited from HelloResult.)
Public propertyTopologyVersion
Get the TopologyVersion.
(Inherited from HelloResult.)
Public propertyWrapped
Gets the wrapped result document.
(Inherited from HelloResult.)
Top
Methods
  NameDescription
Public methodEquals(HelloResult)
Indicates whether the current object is equal to another object of the same type.
(Inherited from HelloResult.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from HelloResult.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from HelloResult.)
Public methodGetReplicaSetConfig
Gets the replica set configuration.
(Inherited from HelloResult.)
Public methodGetType
Gets the Type of the current instance.
(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