InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.

异常代码如下:

                if (!keyValueFeeCategories.ContainsKey(item.ProjectId + item.Category))
                    keyValueFeeCategories.Add(item.ProjectId + item.Category, item.TotalAmount);

  

相关文章:

  • 2022-12-23
  • 2022-02-28
  • 2022-01-13
  • 2022-02-21
  • 2022-12-23
  • 2021-10-26
  • 2021-09-17
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
相关资源
相似解决方案