Exception:无法将类型为“System.Collections.Generic.Dictionary`2[System.String,System.Object]”的对象强制转换为类型“System.Collections.Generic.Dictionary`2[System.String,System.String]”。

报错信息

InvalidCastException: 无法将类型为“System.Collections.Generic.Dictionary`2[System.String,System.Object]”的对象强制转换为类型“System.Collections.Generic.Dictionary`2[System.String,System.String]”。
StackTrace:
   在 DynamicClass.aa.<>c__DisplayClass13d.<>c__DisplayClass145.<<OnWindowLoaded>b__b6>d__168.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 DynamicClass.aa.<>c__DisplayClass13d.<>c__DisplayClass145.<<OnWindowLoaded>b__bd>d__173.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

解决方法

暂无解决方案。

相关信息
0 查看
2025-06-29 10:17
Quicker版本
版本 反馈次数