P
Peter
Hi,
I have created several classes,one act as a base class,all the others
inherits from it. The base class contains many complex datas(some
properties,arrays and structures). Now I want to serialize an instance of
the inherited class . I made a binary serialization and no error occurs. But
when I deserialized the result file of the binary serialization ,it gave me
an error message: System MissingMemberException: FieldInfo can't match the
destination data type.
Need I implements the System.Runtime.Serialization.ISerializable and fill
the subroutine below?
Public Sub GetObjectData(ByVal info As _
System.Runtime.Serialization.SerializationInfo, _
ByVal context As System.Runtime.Serialization.StreamingContext)
if so, I will need to add many line such as info.AddValue("X", varible).
Any help would be greatly appreciated.
Thanks
I have created several classes,one act as a base class,all the others
inherits from it. The base class contains many complex datas(some
properties,arrays and structures). Now I want to serialize an instance of
the inherited class . I made a binary serialization and no error occurs. But
when I deserialized the result file of the binary serialization ,it gave me
an error message: System MissingMemberException: FieldInfo can't match the
destination data type.
Need I implements the System.Runtime.Serialization.ISerializable and fill
the subroutine below?
Public Sub GetObjectData(ByVal info As _
System.Runtime.Serialization.SerializationInfo, _
ByVal context As System.Runtime.Serialization.StreamingContext)
if so, I will need to add many line such as info.AddValue("X", varible).
Any help would be greatly appreciated.
Thanks