Метод | Описание | |
---|---|---|
CommandsThatWriteAcceptWriteConcernFeature ( string name, SemanticVersion firstSupportedVersion ) |
Initializes a new instance of the CommandsThatWriteAcceptWriteConcernFeature class.
|
|
ShouldSendWriteConcern ( SemanticVersion serverVersion, WriteConcern value ) : bool |
Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature.
|
public CommandsThatWriteAcceptWriteConcernFeature ( string name, SemanticVersion firstSupportedVersion ) | ||
name | string | The name of the feature. |
firstSupportedVersion | SemanticVersion | The first server version that supports the feature. |
public ShouldSendWriteConcern ( SemanticVersion serverVersion, WriteConcern value ) : bool | ||
serverVersion | SemanticVersion | The server version. |
value | WriteConcern | The write concern value. |
Результат | bool |