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 */);
}
声明: 本文采用 BY-NC-SA 协议进行授权. 转载请注明转自: does not have a valid constructor. To correctly implement ISerializable a constructor that takes