Table of Contents

Class BsonWriterSettings

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents settings for a BsonWriter.

public abstract class BsonWriterSettings
Inheritance
BsonWriterSettings
Derived
Inherited Members
Extension Methods

Constructors

BsonWriterSettings()

Initializes a new instance of the BsonWriterSettings class.

Properties

IsFrozen

Gets whether the settings are frozen.

MaxSerializationDepth

Gets or sets the max serialization depth allowed (used to detect circular references).

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.