SerializerBaseTValueCreateCannotBeSerializedException 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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax protected Exception CreateCannotBeSerializedException()
Protected Function CreateCannotBeSerializedException As Exception
member CreateCannotBeSerializedException : unit -> Exception
Return Value
Type:
ExceptionAn exception.
See Also