Table of Contents

Class BsonSerializationException

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON serialization exception.

public class BsonSerializationException : BsonException, ISerializable
Inheritance
BsonSerializationException
Implements
Inherited Members
Extension Methods

Constructors

BsonSerializationException()

Initializes a new instance of the BsonSerializationException class.

BsonSerializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the BsonSerializationException class (this overload used by deserialization).

BsonSerializationException(string)

Initializes a new instance of the BsonSerializationException class.

BsonSerializationException(string, Exception)

Initializes a new instance of the BsonSerializationException class.