Method CreateCannotBeSerializedException

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.Serializers

Assembly

MongoDB.Bson.dll

CreateCannotBeSerializedException()

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

protected Exception CreateCannotBeSerializedException()

Returns

Exception

An exception.