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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public class Feature

The Feature type exposes the following members.

Constructors
  NameDescription
Public methodFeature
Initializes a new instance of the Feature class.
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 memberAggregateComment
Gets the aggregate comment 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 memberAggregateHint
Gets the aggregate hint feature.
Public propertyStatic memberAggregateOut
Gets the aggregate out feature.
Public propertyStatic memberArrayFilters
Gets the arrayFilters feature.
Public propertyStatic memberBypassDocumentValidation
Gets the bypass document validation feature.
Public propertyStatic memberChangeStreamStage
Gets the aggregate $changeStream stage 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
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsSupported
Determines whether a feature is supported by a version of the server.
Protected methodMemberwiseClone (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 (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