Click or drag to resize

SerializerBase<TValue>.CreateCannotBeDeserializedException Method

Creates an exception to throw when a type cannot be deserialized.

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
protected Exception CreateCannotBeDeserializedException()

Return Value

Type: Exception
An exception.
See Also