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

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

解决措施:
添加如下构造函数的重载即可。
protected xxxxx(SerializationInfo info, StreamingContext context)
    : base(info, context)
{ }

相关文章:

  • 2021-07-17
  • 2021-07-28
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2021-11-17
  • 2021-11-24
猜你喜欢
  • 2022-12-23
  • 2021-11-08
  • 2022-02-19
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
相关资源
相似解决方案