FeatureThrowIfNotSupported Method

Throws if the feature is not supported by a version of the server.

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

Parameters

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

Reference