Table of Contents

Constructor Feature

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

Feature(string, int, int?, string)

Initializes a new instance of the Feature class.

public Feature(string name, int firstSupportedWireVersion, int? supportRemovedWireVersion = null, string notSupportedMessage = null)

Parameters

name string

The name of the feature.

firstSupportedWireVersion int

The first wire version that supports the feature.

supportRemovedWireVersion int?

The wire version that stops support the feature.

notSupportedMessage string

The not supported error message.