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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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