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.Start()
   在 System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
   在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.MouseDevice.Synchronize()
   在 System.Windows.Input.MouseDevice.PostProcessInput(Object sender, ProcessInputEventArgs e)
   在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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.40.11 2024-05-03 18:29 Microsoft Windows NT 10.0.19045.0
报错信息 2
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.PromoteTimers(Int32 currentTimeInTicks)
   在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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.40.11 2024-05-02 17:52 Microsoft Windows NT 10.0.19043.0
报错信息 3
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.Start()
   在 System.Windows.Threading.DispatcherTimer.set_IsEnabled(Boolean value)
   在 System.Windows.Input.InputManager.InvalidateInputDevices()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Interop.HwndTarget.OnResize()
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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.40.11 2024-04-23 21:00 Microsoft Windows NT 10.0.19045.0