Last Updated:
08 Apr 2025 15:08
by Stenly
Currently, when deserializing a XML that contains a custom type that is not registered in the AllowedSerializationTypes collection, an exception will be thrown, which will be caught, and the error message will be displayed in the Output window of Visual Studio.
Instead, we could change this behavior to raise an exception, which will not be caught when a custom type, which is not allowed, gets de-serialized.