Class HintForFindAndModifyFeature
Represents the hint for find and modify feature.
public class HintForFindAndModifyFeature : Feature
- Inheritance
-
HintForFindAndModifyFeature
- Inherited Members
Constructors
HintForFindAndModifyFeature(string, int)
Initializes a new instance of the HintForFindAndModifyFeature class.
public HintForFindAndModifyFeature(string name, int firstSupportedWireVersion)
Parameters
name
stringThe name of the feature.
firstSupportedWireVersion
intThe first wire version that supports the feature.
Methods
DriverMustThrowIfNotSupported(int)
Determines whether the driver must throw an exception if the feature is not supported by the server.
public bool DriverMustThrowIfNotSupported(int wireVersion)
Parameters
wireVersion
intThe wire version.
Returns
- bool
Whether the driver must throw if feature is not supported.