Exception:指定的转换无效。

报错信息 1
InvalidCastException: 指定的转换无效。
StackTrace:
   在 DynamicClass.<StartCountdownAndCloseAsync>d__0.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)

版本:1.44.5 2025-05-04 20:53 Microsoft Windows NT 10.0.22631.0