The MSDN page quoted does not mention this, but the default behavior is that no exception will be thrown in this case. If an exception is required, you must set the AssemblyFormat property to BinaryFormatter
System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full
Default value
System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple
More information can be found here .
source share