Click or drag to resize

IsMasterResult Class

Represents the result of an isMaster command.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.ConnectionsIsMasterResult

Namespace:  MongoDB.Driver.Core.Connections
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public sealed class IsMasterResult : IEquatable<IsMasterResult>

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.
Public propertyElectionId
Gets the election identifier.
Public propertyHasSaslSupportedMechs
Get whether SaslSupportedMechs was part of the isMaster response.
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 propertyTags
Gets the replica set tags.
Public propertyWrapped
Gets the wrapped result document.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(IsMasterResult)
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 methodGetReplicaSetConfig
Gets the replica set configuration.
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