Exception:当前程序已使用了 Window 管理器对象的系统允许的所有句柄。

报错信息 1
Win32Exception: 当前程序已使用了 Window 管理器对象的系统允许的所有句柄。
--NativeErrorCode: 1158
StackTrace:
   在 MS.Win32.SafeNativeMethods.SetTimer(HandleRef hWnd, Int32 nIDEvent, Int32 uElapse)
   在 System.Windows.Threading.Dispatcher.SetWin32Timer(Int32 dueTimeInTicks)
   在 System.Windows.Threading.Dispatcher.UpdateWin32TimerFromDispatcherThread(Object unused)
   在 System.Windows.Threading.Dispatcher.AddTimer(DispatcherTimer timer)
   在 System.Windows.Threading.DispatcherTimer.Restart()
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 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.39.43 2024-04-25 13:34 Microsoft Windows NT 10.0.19045.0