Click or drag to resize

Feature Constructor

Initializes a new instance of the Feature class.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public Feature(
	string name,
	SemanticVersion firstSupportedVersion,
	SemanticVersion supportRemovedVersion = null
)

Parameters

name
Type: SystemString
The name of the feature.
firstSupportedVersion
Type: MongoDB.Driver.Core.MiscSemanticVersion
The first server version that supports the feature.
supportRemovedVersion (Optional)
Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version that stops support the feature.
See Also