错误提示:
The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.
场景:
服务程序使用从 ApplicationException 继承的自定义异常。
解决措施:
添加如下构造函数的重载即可。
protected xxxxx(SerializationInfo info, StreamingContext context)
: base(info, context)
{ }
转载于:https://www.cnblogs.com/chinadhf/archive/2007/12/12/991607.html