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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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 memberAggregateAddFields
Gets the aggregate AddFields 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 memberAggregateLet
Gets the aggregate let feature.
Public propertyStatic memberAggregateMerge
Gets the aggregate merge 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 memberChangeStreamPostBatchResumeToken
Gets the change stream post batch resume token feature.
Public propertyStatic memberChangeStreamStage
Gets the aggregate $changeStream stage feature.
Public propertyStatic memberCollation
Gets the collation feature.
Public propertyStatic memberCommandMessage
Gets the command message feature.
Public propertyStatic memberCommandsThatWriteAcceptWriteConcern
Gets the commands that write accept write concern feature.
Public propertyStatic memberCreateIndexesCommand
Gets the create indexes command feature.
Public propertyStatic memberCreateIndexesUsingInsertOperations
Gets the create indexes using insert operations feature.
Public propertyStatic memberCurrentOpCommand
Gets the current op command feature.
Public propertyStatic memberDocumentValidation
Gets the document validation feature.
Public propertyStatic memberEval
Gets the eval feature.
Public propertyStatic memberExplainCommand
Gets the explain command feature.
Public propertyStatic memberFailPoints
Gets the fail points feature.
Public propertyStatic memberFailPointsFailCommand
Gets the fail points fail command 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 memberGeoNearCommand
Gets the geoNear command feature.
Public propertyStatic memberGroupCommand
Gets the group command feature.
Public propertyStatic memberIndexOptionsDefaults
Gets the index options defaults feature.
Public propertyStatic memberKeepConnectionPoolWhenNotMasterConnectionException
Gets the keep connection pool when NotMaster connection exception feature.
Public propertyStatic memberKeepConnectionPoolWhenReplSetStepDown
Gets the keep connection pool when replSetStepDown feature.
Public propertyStatic memberKillCursorsCommand
Get the killCursors command 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 memberListDatabasesFilter
Gets the list databases filter feature.
Public propertyStatic memberListDatabasesNameOnlyOption
Get the list databases nameOnly 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 propertyStatic memberMmapV1StorageEngine
Gets the mmapv1 storage engine 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 memberRetryableReads
Gets the retryable reads feature.
Public propertyStatic memberScramSha1Authentication
Gets the scram sha1 authentication feature.
Public propertyStatic memberScramSha256Authentication
Gets the scram sha256 authentication feature.
Public propertyStatic memberServerExtractsUsernameFromX509Certificate
Gets the server extracts username from X509 certificate feature.
Public propertyStatic memberShardedTransactions
Gets the sharded transactions feature.
Public propertyStatic memberTransactions
Gets the transactions feature.
Public propertyStatic memberUserManagementCommands
Gets the user management commands feature.
Public propertyStatic memberViews
Gets the views feature.
Public propertyStatic memberWildcardIndexes
Gets the wildcard indexes feature.
Public propertyStatic memberWriteCommands
Gets the write commands feature.
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
See Also