HintForFindAndModifyFeatureDriverMustThrowIfNotSupported Method

Determines whether the driver must throw an exception if the feature is not supported by the server.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public bool DriverMustThrowIfNotSupported(
	SemanticVersion serverVersion
)

Parameters

serverVersion
Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version.

Return Value

Type: Boolean
Whether the driver must throw if feature is not supported.
See Also

Reference