ReadConcernFeature Class |
Namespace: MongoDB.Driver.Core.Misc
The ReadConcernFeature type exposes the following members.
Name | Description | |
---|---|---|
ReadConcernFeature |
Initializes a new instance of the ReadConcernFeature class.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsSupported |
Determines whether a feature is supported by a version of the server.
(Inherited from Feature.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SupportedOrNotSupportedVersion |
Returns a version of the server where the feature is or is not supported.
(Inherited from Feature.) | |
ThrowIfNotSupported(SemanticVersion) |
Throws if the feature is not supported by a version of the server.
(Inherited from Feature.) | |
ThrowIfNotSupported(SemanticVersion, ReadConcern) |
Throws if the read concern value is not the server default and read concern is not supported.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |
Name | Description | |
---|---|---|
FirstSupportedVersion |
Gets the first server version that supports the feature.
(Inherited from Feature.) | |
LastNotSupportedVersion |
Gets the last server version that does not support the feature.
(Inherited from Feature.) | |
Name |
Gets the name of the feature.
(Inherited from Feature.) |