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

.Net Remoting 排错笔记:The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.

2007-12-12 08:37 1826 查看
错误提示:

The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.

场景:

服务程序使用从 ApplicationException 继承的自定义异常。

解决措施:

添加如下构造函数的重载即可。

protected xxxxx(SerializationInfo info, StreamingContext context)

: base(info, context)

{ }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐