| IsMasterResult Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: MongoDB.Driver.Core.Connections
 Syntax
SyntaxThe IsMasterResult type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | IsMasterResult | 
            Initializes a new instance of the IsMasterResult class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ElectionId | 
            Gets the election identifier.
             | 
|  | HasSaslSupportedMechs | 
            Get whether SaslSupportedMechs was part of the isMaster response.
             | 
|  | IsArbiter | 
            Gets a value indicating whether this instance is an arbiter.
             | 
|  | 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.
             | 
|  | Tags | 
            Gets the replica set tags.
             | 
|  | Wrapped | 
            Gets the wrapped result document.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals(Object) | Determines whether the specified object is equal to the current object.(Overrides ObjectEquals(Object).) | 
|  | Equals(IsMasterResult) | Indicates whether the current object is equal to another object of the same type. | 
|  | GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) | 
|  | GetReplicaSetConfig | 
            Gets the replica set configuration.
             | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ToBson | 
            Serializes an object to a BSON byte array.
            (Defined by BsonExtensionMethods.) | 
|  | ToBsonDocument | 
            Serializes an object to a BsonDocument.
            (Defined by BsonExtensionMethods.) | 
|  | ToJson | 
            Serializes an object to a JSON string.
            (Defined by BsonExtensionMethods.) | 
 See Also
See Also