Click or drag to resize

ReadConcernFeatureThrowIfNotSupported Method (SemanticVersion, ReadConcern)

Throws if the read concern value is not the server default and read concern is not supported.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public void ThrowIfNotSupported(
	SemanticVersion serverVersion,
	ReadConcern value
)

Parameters

serverVersion
Type: MongoDB.Driver.Core.MiscSemanticVersion
The server version.
value
Type: MongoDB.DriverReadConcern
The value.
See Also