Click or drag to resize

BsonException Constructor (SerializationInfo, StreamingContext)

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

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public BsonException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext.
See Also