Table of Contents

Class BsonInternalException

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON internal exception (almost surely the result of a bug).

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

Constructors

BsonInternalException()

Initializes a new instance of the BsonInternalException class.

public BsonInternalException()

BsonInternalException(SerializationInfo, StreamingContext)

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

public BsonInternalException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.

BsonInternalException(string)

Initializes a new instance of the BsonInternalException class.

public BsonInternalException(string message)

Parameters

message string

The error message.

BsonInternalException(string, Exception)

Initializes a new instance of the BsonInternalException class.

public BsonInternalException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.