Click or drag to resize

HintForUpdateAndReplaceOperationsFeatureDriverMustThrowIfNotSupported 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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
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