O
O.B.
I have a an attribute within a Serializable class that is of type
System.Net.IPAddress. When I try to serialize the class, I get the
following error:
System.InvalidOperationException: Cannot serialize member
'SerializationTest.ConfigurationProperties.ConnectionAddress' of type
'System.Net.IPAddress', see inner exception for more details.
System.InvalidOperationException: System.Net.IPAddress cannot be
serialized because it does not have a parameterless constructor.
What workarounds are there?
System.Net.IPAddress. When I try to serialize the class, I get the
following error:
System.InvalidOperationException: Cannot serialize member
'SerializationTest.ConfigurationProperties.ConnectionAddress' of type
'System.Net.IPAddress', see inner exception for more details.
System.InvalidOperationException: System.Net.IPAddress cannot be
serialized because it does not have a parameterless constructor.
What workarounds are there?