您的位置:首页 > 移动开发 > Objective-C

Deserialization Problems ... The constructor to deserialize an object of type ... was not found

2006-04-20 16:32 671 查看
在做动态调用时碰到一个问题,The constructor to deserialize an object of type 'MSNException' was not found,其中MSNException 标记为Serializable tag,并且MSNException 从 Exception 继承,而且Exception本身已经实现ISerializable interface ,这使我非常的困惑,后来我查看Exception源代码看到这样一个构造函数

protected Exception(SerializationInfo info, StreamingContext context)
public MSNException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐