Click or drag to resize
Feature Class
Represents a feature that is not supported by all versions of the server.
Inheritance Hierarchy

Namespace: MongoDB.Driver.Core.Misc
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax
public class Feature

The Feature type exposes the following members.

Constructors
  NameDescription
Public methodFeature
Initializes a new instance of the Feature class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from 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.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSupported
Determines whether a feature is supported by a version of the server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupportedOrNotSupportedVersion
Returns a version of the server where the feature is or is not supported.
Public methodThrowIfNotSupported
Throws if the feature is not supported by a version of the server.
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
Properties
  NameDescription
Public propertyStatic memberAggregate
Gets the aggregate feature.
Public propertyStatic memberAggregateAllowDiskUse
Gets the aggregate allow disk use feature.
Public propertyStatic memberAggregateBucketStage
Gets the aggregate bucket stage feature.
Public propertyStatic memberAggregateCountStage
Gets the aggregate count stage feature.
Public propertyStatic memberAggregateCursorResult
Gets the aggregate cursor result feature.
Public propertyStatic memberAggregateExplain
Gets the aggregate explain feature.
Public propertyStatic memberAggregateFacetStage
Gets the aggregate $facet stage feature.
Public propertyStatic memberAggregateGraphLookupStage
Gets the aggregate $graphLookup stage feature.
Public propertyStatic memberAggregateOut
Gets the aggregate out feature.
Public propertyStatic memberBypassDocumentValidation
Gets the bypass document validation feature.
Public propertyStatic memberCollation
Gets the collation feature.
Public propertyStatic memberCommandsThatWriteAcceptWriteConcern
Gets the commands that write accept write concern feature.
Public propertyStatic memberCreateIndexesCommand
Gets the create indexes command feature.
Public propertyStatic memberCurrentOpCommand
Gets the current op command feature.
Public propertyStatic memberDocumentValidation
Gets the document validation feature.
Public propertyStatic memberExplainCommand
Gets the explain command feature.
Public propertyStatic memberFailPoints
Gets the fail points feature.
Public propertyStatic memberFindAndModifyWriteConcern
Gets the find and modify write concern feature.
Public propertyStatic memberFindCommand
Gets the find command feature.
Public propertyFirstSupportedVersion
Gets the first server version that supports the feature.
Public propertyStatic memberIndexOptionsDefaults
Gets the index options defaults feature.
Public propertyLastNotSupportedVersion
Gets the last server version that does not support the feature.
Public propertyStatic memberListCollectionsCommand
Gets the list collections command feature.
Public propertyStatic memberListIndexesCommand
Gets the list indexes command feature.
Public propertyStatic memberMaxStaleness
Gets the maximum staleness feature.
Public propertyStatic memberMaxTime
Gets the maximum time feature.
Public propertyName
Gets the name of the feature.
Public propertyStatic memberPartialIndexes
Gets the partial indexes feature.
Public propertyStatic memberReadConcern
Gets the read concern feature.
Public propertyStatic memberScramSha1Authentication
Gets the scram sha1 authentication feature.
Public propertyStatic memberServerExtractsUsernameFromX509Certificate
Gets the server extracts username from X509 certificate feature.
Public propertyStatic memberUserManagementCommands
Gets the user management commands feature.
Public propertyStatic memberViews
Gets the views feature.
Public propertyStatic memberWriteCommands
Gets the write commands feature.
Top
See Also