Class BsonException
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.
public BsonException()
BsonException(SerializationInfo, StreamingContext)
Initializes a new instance of the BsonException class (this overload used by deserialization).
public BsonException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.
BsonException(string)
Initializes a new instance of the BsonException class.
public BsonException(string message)
Parameters
message
stringThe error message.
BsonException(string, Exception)
Initializes a new instance of the BsonException class.
public BsonException(string message, Exception innerException)
Parameters
BsonException(string, params object[])
Initializes a new instance of the BsonException class.
public BsonException(string format, params object[] args)