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.Dispose()
   在 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.19 2021-05-01 10:46 Microsoft Windows NT 10.0.17134.0
版本:1.23.19 2021-04-16 20:59 Microsoft Windows NT 10.0.19043.0
版本:1.23.19 2021-04-11 01:41 Microsoft Windows NT 10.0.19041.0
报错信息 2
   在 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.19 2021-04-25 14:24 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-25 11:33 Microsoft Windows NT 10.0.19041.0
版本:1.23.19 2021-04-23 09:23 Microsoft Windows NT 10.0.19041.0
版本:1.23.19 2021-04-20 21:32 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:11 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:11 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:11 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:11 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:10 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:10 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:09 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:08 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:08 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:06 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:03 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:02 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:02 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 20:02 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:42 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:41 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:35 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:35 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:35 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:32 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:31 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:29 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-15 18:27 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-14 13:39 Microsoft Windows NT 10.0.18363.0
版本:1.23.19 2021-04-12 22:22 Microsoft Windows NT 10.0.19042.0
版本:1.23.19 2021-04-12 21:43 Microsoft Windows NT 10.0.19043.0
版本:1.23.19 2021-04-11 18:40 Microsoft Windows NT 10.0.19043.0
版本:1.23.19 2021-04-10 13:20 Microsoft Windows NT 10.0.19042.0