Class BsonException
Represents a BSON exception.
- Inheritance
-
Bson
Exception
- 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).
Parameters
info
SerializationInfo The SerializationInfo.
context
StreamingContext The StreamingContext.
BsonException(string)
Initializes a new instance of the BsonException class.
Parameters
message
stringThe error message.
BsonException(string, Exception)
Initializes a new instance of the BsonException class.
Parameters
BsonException(string, params object[])
Initializes a new instance of the BsonException class.