Class BsonReaderSettings

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.IO

Assembly

MongoDB.Bson.dll

Represents settings for a BsonReader.

public abstract class BsonReaderSettings

Inheritance

BsonReaderSettings

Derived

Inherited Members

Extension Methods

Constructors

BsonReaderSettings()

Initializes a new instance of the BsonReaderSettings class.

Properties

IsFrozen

Gets whether the settings are frozen.

Methods

Clone()

Creates a clone of the settings.

CloneImplementation()

Creates a clone of the settings.

Freeze()

Freezes the settings.

FrozenCopy()

Returns a frozen copy of the settings.

ThrowFrozenException()

Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.