Exception:调用的目标发生了异常。0x80070578

报错信息 1
   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   在 System.Windows.Interop.HwndMouseInputProvider.HasCustomChrome(HwndSource hwndSource, RECT& rcClient)
   在 System.Windows.Interop.HwndMouseInputProvider.GetEffectiveClientRect(IntPtr hwnd)
   在 System.Windows.Interop.HwndMouseInputProvider.PossiblyDeactivate(IntPtr hwndCapture, Boolean stillActiveIfOverSelf)
   在 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)

0x80070578
   在 Standard.HRESULT.ThrowIfFailed(String message)
   在 Standard.HRESULT.ThrowLastError()
   在 Standard.NativeMethods.GetWindowRect(IntPtr hwnd)
   在 System.Windows.Shell.WindowChromeWorker.GetEffectiveClientArea(RECT& rcClient)
版本:1.23.17 2021-05-03 10:29 Microsoft Windows NT 10.0.18363.0
版本:1.23.17 2021-04-15 19:27 Microsoft Windows NT 10.0.19041.0
版本:1.23.17 2021-04-12 14:14 Microsoft Windows NT 10.0.18363.0