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


错误提示:
The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.

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

解决措施:
添加如下构造函数的重载即可。
protected xxxxx(SerializationInfo info, StreamingContext context)
    : base(info, context)
{ }
posted @ 2007-12-12 08:37  同一片海  阅读(556)  评论(0编辑  收藏  举报