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
)
Public Function DriverMustThrowIfNotSupported (
serverVersion As SemanticVersion
) As Boolean
member DriverMustThrowIfNotSupported :
serverVersion : SemanticVersion -> bool
Parameters
- serverVersion
- Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version.
Return Value
Type:
BooleanWhether the driver must throw if feature is not supported.
See Also