does not have a valid constructor. To correctly implement ISerializable a constructor that takes

2022年1月5日

需要实现实例化重载

 

public SurroundingClass(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
// MyBase.New(info, context)
if (!info == null)
this.SetObjectData(this, info, context, null/* TODO Change to default(_) if this is not a reference type */);
}

本文的评论功能被关闭了.