Class ReadConcern
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a read concern.
public sealed class ReadConcern : IEquatable<ReadConcern>, IConvertibleToBsonDocumentInheritance
ReadConcern
Implements
Inherited Members
Constructors
ReadConcern(Optional<ReadConcernLevel?>)
Initializes a new instance of the ReadConcern class.
Properties
Gets an available read concern.
Gets a default read concern.
Gets a value indicating whether this is the server's default read concern.
Gets the level.
Gets a linearizable read concern.
Gets a local read concern.
Gets a majority read concern.
Gets a snapshot read concern.
Methods
Indicates whether the current object is equal to another object of the same type.
Determines whether the specified object is equal to the current object.
FromBsonDocument(BsonDocument)
Creates a read concern from a document.
Serves as the default hash function.
Converts this read concern to a BsonDocument suitable to be sent to the server.
Returns a string that represents this instance.
With(Optional<ReadConcernLevel?>)
Returns a new instance of ReadConcern with some values changed.