Constructor BsonSerializationException
BsonSerializationException()
Initializes a new instance of the BsonSerializationException class.
public BsonSerializationException()
BsonSerializationException(string)
Initializes a new instance of the BsonSerializationException class.
public BsonSerializationException(string message)
Parameters
message
stringThe error message.
BsonSerializationException(string, Exception)
Initializes a new instance of the BsonSerializationException class.
public BsonSerializationException(string message, Exception innerException)
Parameters
BsonSerializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the BsonSerializationException class (this overload used by deserialization).
public BsonSerializationException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.