Any idea what this means?

An unhandled exception of type 'System.Runtime.Serialization.SerializationException' 
occurred in mscorlib.dll

Additional information: The constructor to deserialize an object of type 
SoapSerialization.Class2 was not found.


I tried it 3 ways with an error but the 4th works.

<Serializable()> Public Class Class2
    Inherits TreeNode
    Public Sub New()
        MyBase.New("Blank")
    End Sub
    Public MyData As String
End Class

<Serializable()> Public Class Class2
    Inherits TreeNode
    Public Sub New()
    End Sub
    Public MyData As String
End Class

<Serializable()> Public Class Class2
    Inherits TreeNode
    Public MyData As String
End Class


This works though
<Serializable()> Public Class Class2
    Public MyData As String
End Class

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to