Class Feature
Represents a feature that is not supported by all versions of the server.
public class Feature
- Inheritance
-
Feature
- Derived
- Inherited Members
Constructors
Feature(string, int, int?, string)
Initializes a new instance of the Feature class.
public Feature(string name, int firstSupportedWireVersion, int? supportRemovedWireVersion = null, string notSupportedMessage = null)
Parameters
name
stringThe name of the feature.
firstSupportedWireVersion
intThe first wire version that supports the feature.
supportRemovedWireVersion
int?The wire version that stops support the feature.
notSupportedMessage
stringThe not supported error message.
Properties
Aggregate
Gets the aggregate feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature Aggregate { get; }
Property Value
AggregateAccumulator
Gets the aggregate accumulato feature.
public static Feature AggregateAccumulator { get; }
Property Value
AggregateAddFields
Gets the aggregate AddFields feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateAddFields { get; }
Property Value
AggregateAllowDiskUse
Gets the aggregate allow disk use feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateAllowDiskUse { get; }
Property Value
AggregateBucketStage
Gets the aggregate bucket stage feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateBucketStage { get; }
Property Value
AggregateComment
Gets the aggregate comment feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateComment { get; }
Property Value
AggregateCountStage
Gets the aggregate count stage feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateCountStage { get; }
Property Value
AggregateCursorResult
Gets the aggregate cursor result feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateCursorResult { get; }
Property Value
AggregateExplain
Gets the aggregate explain feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateExplain { get; }
Property Value
AggregateFacetStage
Gets the aggregate $facet stage feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateFacetStage { get; }
Property Value
AggregateFunction
Gets the aggregate $function stage feature.
public static Feature AggregateFunction { get; }
Property Value
AggregateGraphLookupStage
Gets the aggregate $graphLookup stage feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateGraphLookupStage { get; }
Property Value
AggregateHint
Gets the aggregate hint feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateHint { get; }
Property Value
AggregateLet
Gets the aggregate lookup stage let feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateLet { get; }
Property Value
AggregateMerge
Gets the aggregate merge feature.
public static Feature AggregateMerge { get; }
Property Value
AggregateOptionsLet
Gets the aggregate let feature.
public static Feature AggregateOptionsLet { get; }
Property Value
AggregateOut
Gets the aggregate out feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature AggregateOut { get; }
Property Value
AggregateOutOnSecondary
Gets the aggregate out on secondary feature,
public static Feature AggregateOutOnSecondary { get; }
Property Value
AggregateOutToDifferentDatabase
Gets the aggregate out to a different database feature.
public static Feature AggregateOutToDifferentDatabase { get; }
Property Value
AggregateToString
Gets the aggregate toString feature.
public static Feature AggregateToString { get; }
Property Value
AggregateUnionWith
Gets the aggregate unionWith feature.
public static Feature AggregateUnionWith { get; }
Property Value
ArrayFilters
Gets the arrayFilters feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ArrayFilters { get; }
Property Value
BypassDocumentValidation
Gets the bypass document validation feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature BypassDocumentValidation { get; }
Property Value
ChangeStreamAllChangesForCluster
Gets the change stream all changes for cluster feature.
public static Feature ChangeStreamAllChangesForCluster { get; }
Property Value
ChangeStreamForDatabase
Gets the change stream for database feature.
public static Feature ChangeStreamForDatabase { get; }
Property Value
ChangeStreamPostBatchResumeToken
Gets the change stream post batch resume token feature.
public static Feature ChangeStreamPostBatchResumeToken { get; }
Property Value
ChangeStreamPrePostImages
Gets the change stream pre post images feature.
public static Feature ChangeStreamPrePostImages { get; }
Property Value
ChangeStreamStage
Gets the aggregate $changeStream stage feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ChangeStreamStage { get; }
Property Value
ClientSideEncryption
Gets the client side encryption feature.
public static Feature ClientSideEncryption { get; }
Property Value
ClusteredIndexes
Gets the clustered indexes feature.
public static Feature ClusteredIndexes { get; }
Property Value
Collation
Gets the collation feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature Collation { get; }
Property Value
CommandMessage
Gets the command message feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature CommandMessage { get; }
Property Value
CommandsThatWriteAcceptWriteConcern
Gets the commands that write accept write concern feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature CommandsThatWriteAcceptWriteConcern { get; }
Property Value
CreateIndexCommitQuorum
Gets the create index commit quorum feature.
public static Feature CreateIndexCommitQuorum { get; }
Property Value
CreateIndexesCommand
Gets the create indexes command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature CreateIndexesCommand { get; }
Property Value
CreateIndexesUsingInsertOperations
Gets the create indexes using insert operations feature.
public static Feature CreateIndexesUsingInsertOperations { get; }
Property Value
Csfle2
Gets the client side field level encryption 2 feature.
public static Feature Csfle2 { get; }
Property Value
Csfle2QEv2
Gets the client side field level encryption 2 queryable encryption v2 feature.
public static Feature Csfle2QEv2 { get; }
Property Value
CsfleRangeAlgorithm
Gets the csfle range algorithm feature.
public static Feature CsfleRangeAlgorithm { get; }
Property Value
CurrentOpCommand
Gets the current op command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature CurrentOpCommand { get; }
Property Value
DateOperatorsNewIn50
Gets the date operators added in 5.0 feature.
public static Feature DateOperatorsNewIn50 { get; }
Property Value
DensifyStage
Gets the aggregate $densify stage feature.
public static Feature DensifyStage { get; }
Property Value
DirectConnectionSetting
Gets the directConnection setting feature.
public static Feature DirectConnectionSetting { get; }
Property Value
DocumentValidation
Gets the document validation feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature DocumentValidation { get; }
Property Value
DocumentsStage
Gets the documents stage feature.
public static Feature DocumentsStage { get; }
Property Value
ElectionIdPriorityInSDAM
Gets the electionIdPriorityInSDAM feature.
public static Feature ElectionIdPriorityInSDAM { get; }
Property Value
Eval
Gets the eval feature.
public static Feature Eval { get; }
Property Value
ExplainCommand
Gets the explain command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ExplainCommand { get; }
Property Value
FailPoints
Gets the fail points feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature FailPoints { get; }
Property Value
FailPointsBlockConnection
Gets the fail points block connection feature.
public static Feature FailPointsBlockConnection { get; }
Property Value
FailPointsFailCommand
Gets the fail points fail command feature.
public static Feature FailPointsFailCommand { get; }
Property Value
FailPointsFailCommandForSharded
Gets the fail points fail command for sharded feature.
public static Feature FailPointsFailCommandForSharded { get; }
Property Value
FilterLimit
Gets filter limit feature.
public static Feature FilterLimit { get; }
Property Value
FindAllowDiskUse
Gets the find allowDiskUse feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature FindAllowDiskUse { get; }
Property Value
FindAndModifyWriteConcern
Gets the find and modify write concern feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature FindAndModifyWriteConcern { get; }
Property Value
FindCommand
Gets the find command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature FindCommand { get; }
Property Value
FindProjectionExpressions
Gets the find projection expressions feature.
public static Feature FindProjectionExpressions { get; }
Property Value
GeoNearCommand
Gets the geoNear command feature.
public static Feature GeoNearCommand { get; }
Property Value
GetField
Gets the getField feature.
public static Feature GetField { get; }
Property Value
GetMoreComment
Gets the getMore comment feature.
public static Feature GetMoreComment { get; }
Property Value
GroupCommand
Gets the group command feature.
public static Feature GroupCommand { get; }
Property Value
HedgedReads
Gets the hedged reads feature.
public static Feature HedgedReads { get; }
Property Value
HiddenIndex
Gets the hidden index feature.
public static Feature HiddenIndex { get; }
Property Value
HintForDeleteOperations
Gets the hint for delete operations feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature HintForDeleteOperations { get; }
Property Value
HintForFindAndModifyFeature
Gets the hint for find and modify operations feature.
public static HintForFindAndModifyFeature HintForFindAndModifyFeature { get; }
Property Value
HintForUpdateAndReplaceOperations
Gets the hint for update and replace operations feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature HintForUpdateAndReplaceOperations { get; }
Property Value
IndexOptionsDefaults
Gets the index options defaults feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature IndexOptionsDefaults { get; }
Property Value
KeepConnectionPoolWhenNotMasterConnectionException
Gets the keep connection pool when NotPrimary connection exception feature.
[Obsolete("Use KeepConnectionPoolWhenNotPrimaryConnectionException instead.")]
public static Feature KeepConnectionPoolWhenNotMasterConnectionException { get; }
Property Value
KeepConnectionPoolWhenNotPrimaryConnectionException
Gets the keep connection pool when NotPrimary connection exception feature.
public static Feature KeepConnectionPoolWhenNotPrimaryConnectionException { get; }
Property Value
KeepConnectionPoolWhenReplSetStepDown
Gets the keep connection pool when replSetStepDown feature.
public static Feature KeepConnectionPoolWhenReplSetStepDown { get; }
Property Value
KillAllSessions
Get the killAllSessions feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature KillAllSessions { get; }
Property Value
KillCursorsCommand
Get the killCursors command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature KillCursorsCommand { get; }
Property Value
LegacyWireProtocol
Gets the legacy wire protocol feature.
public static Feature LegacyWireProtocol { get; }
Property Value
ListCollectionsCommand
Gets the list collections command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ListCollectionsCommand { get; }
Property Value
ListDatabasesAuthorizedDatabases
Get the list databases authorizedDatabases feature.
public static Feature ListDatabasesAuthorizedDatabases { get; }
Property Value
ListDatabasesFilter
Gets the list databases filter feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ListDatabasesFilter { get; }
Property Value
ListDatabasesNameOnlyOption
Get the list databases nameOnly feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ListDatabasesNameOnlyOption { get; }
Property Value
ListIndexesCommand
Gets the list indexes command feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ListIndexesCommand { get; }
Property Value
LoadBalancedMode
Gets the load balanced mode feature.
public static Feature LoadBalancedMode { get; }
Property Value
MaxStaleness
Gets the maximum staleness feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature MaxStaleness { get; }
Property Value
MaxTime
Gets the maximum time feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature MaxTime { get; }
Property Value
MmapV1StorageEngine
Gets the mmapv1 storage engine feature.
public static Feature MmapV1StorageEngine { get; }
Property Value
Name
Gets the name of the feature.
public string Name { get; }
Property Value
NotSupportedMessage
Gets the error message to be used by the feature support checks.
public string NotSupportedMessage { get; }
Property Value
PartialIndexes
Gets the partial indexes feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature PartialIndexes { get; }
Property Value
PickAccumulatorsNewIn52
Gets the pick accumulators new in 5.2 feature.
public static Feature PickAccumulatorsNewIn52 { get; }
Property Value
ReadConcern
Gets the read concern feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ReadConcern { get; }
Property Value
RegexMatch
Gets the regex match feature.
public static Feature RegexMatch { get; }
Property Value
RetryableReads
Gets the retryable reads feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature RetryableReads { get; }
Property Value
RetryableWrites
Gets the retryable writes feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature RetryableWrites { get; }
Property Value
Round
Gets the $round feature.
public static Feature Round { get; }
Property Value
ScramSha1Authentication
Gets the scram sha1 authentication feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ScramSha1Authentication { get; }
Property Value
ScramSha256Authentication
Gets the scram sha256 authentication feature.
public static Feature ScramSha256Authentication { get; }
Property Value
ServerExtractsUsernameFromX509Certificate
Gets the server extracts username from X509 certificate feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature ServerExtractsUsernameFromX509Certificate { get; }
Property Value
ServerReturnsResumableChangeStreamErrorLabel
Gets the server returns resumableChangeStream label feature.
public static Feature ServerReturnsResumableChangeStreamErrorLabel { get; }
Property Value
ServerReturnsRetryableWriteErrorLabel
Gets the server returns retryable writeError label feature.
public static Feature ServerReturnsRetryableWriteErrorLabel { get; }
Property Value
SetStage
Gets the $set stage feature.
public static Feature SetStage { get; }
Property Value
SetWindowFields
Gets the set window fields feature.
public static Feature SetWindowFields { get; }
Property Value
SetWindowFieldsLocf
Gets the set window fields $locf feature.
public static Feature SetWindowFieldsLocf { get; }
Property Value
ShardedTransactions
Gets the sharded transactions feature.
public static Feature ShardedTransactions { get; }
Property Value
SnapshotReads
Gets the snapshot reads feature.
public static Feature SnapshotReads { get; }
Property Value
SortArrayOperator
Gets the $sortArray operator feature.
public static Feature SortArrayOperator { get; }
Property Value
SpeculativeAuthentication
Gets the speculative authentication feature.
public static Feature SpeculativeAuthentication { get; }
Property Value
StableApi
Gets the speculative authentication feature.
public static Feature StableApi { get; }
Property Value
StreamingHello
Gets the streaming hello feature.
public static Feature StreamingHello { get; }
Property Value
StreamingIsMaster
Gets the streaming hello feature.
[Obsolete("Use StreamingHello instead.")]
public static Feature StreamingIsMaster { get; }
Property Value
TailableCursor
Gets the tailable cursor feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature TailableCursor { get; }
Property Value
ToConversionOperators
Gets the $toXyz conversion operators feature ($toDouble etc.).
public static Feature ToConversionOperators { get; }
Property Value
Transactions
Gets the transactions feature.
public static Feature Transactions { get; }
Property Value
TrigOperators
Gets the trig operators feature.
public static Feature TrigOperators { get; }
Property Value
TrimOperator
Gets the trim operator feature.
public static Feature TrimOperator { get; }
Property Value
UpdateWithAggregationPipeline
Gets the update with aggregation pipeline feature.
public static Feature UpdateWithAggregationPipeline { get; }
Property Value
UserManagementCommands
Gets the user management commands feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature UserManagementCommands { get; }
Property Value
Views
Gets the views feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature Views { get; }
Property Value
WildcardIndexes
Gets the wildcard indexes feature.
public static Feature WildcardIndexes { get; }
Property Value
WriteCommands
Gets the write commands feature.
[Obsolete("This property will be removed in a later release.")]
public static Feature WriteCommands { get; }
Property Value
Methods
ToString()
public override string ToString()