2

Is it possible to ignore a certain type if a exception is thrown during Deserialization? I can add Properties to ignore like so:

var setting = new SharpSerializerXmlSettings();
setting.AdvancedSettings.PropertiesToIgnore.Add(type, "myPropToIgnore");
sharpSerializer = new SharpSerializer(setting);

But the sourcetype is not known in my current Runtime. So I can not add it. What can I do?

Eliahu Aaron
  • 4,103
  • 5
  • 27
  • 37
Tobias
  • 35,886
  • 1
  • 20
  • 23

0 Answers0