Table of Contents

Class BsonException

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON exception.

[Serializable]
public class BsonException : Exception, ISerializable
Inheritance
BsonException
Implements
Derived
Inherited Members
Extension Methods

Constructors

BsonException()

Initializes a new instance of the BsonException class.

BsonException(SerializationInfo, StreamingContext)

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

BsonException(string)

Initializes a new instance of the BsonException class.

BsonException(string, Exception)

Initializes a new instance of the BsonException class.

BsonException(string, params object[])

Initializes a new instance of the BsonException class.