报错信息 1
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()
在 Microsoft.Web.WebView2.Wpf.WebView2.Uninitialize(Boolean browserCrashed)
在 Microsoft.Web.WebView2.Wpf.WebView2.Dispose(Boolean disposing)
在 System.Windows.Interop.HwndHost.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state)
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.Dispatcher.ShutdownImpl()
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 Quicker.App.Main()
COMException: 组或资源的状态不是执行请求操作的正确状态。 (异常来自 HRESULT:0x8007139F)
StackTrace:
在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_13.get_Profile()
在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()
版本:1.42.8
2025-05-21 21:05
Microsoft Windows NT 10.0.18363.0
版本:1.42.8
2025-05-18 14:55
Microsoft Windows NT 10.0.19041.0
版本:1.42.8
2025-05-18 00:08
Microsoft Windows NT 10.0.18363.0
版本:1.42.8
2025-05-15 15:46
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-15 07:43
Microsoft Windows NT 10.0.18363.0
版本:1.42.8
2025-05-14 20:09
Microsoft Windows NT 10.0.18363.0
版本:1.42.8
2025-05-14 15:12
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-10 20:59
Microsoft Windows NT 10.0.19044.0
版本:1.42.8
2025-05-10 12:12
Microsoft Windows NT 10.0.17763.0
版本:1.42.8
2025-05-09 09:01
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-09 08:55
Microsoft Windows NT 10.0.17763.0
版本:1.42.8
2025-05-09 08:11
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-09 08:07
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-08 20:52
Microsoft Windows NT 10.0.19045.0
版本:1.42.8
2025-05-08 19:26
Microsoft Windows NT 10.0.19044.0
版本:1.42.8
2025-05-04 07:16
Microsoft Windows NT 10.0.17134.0
报错信息 2
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.set_Bounds(Rectangle value)
在 Microsoft.Web.WebView2.Wpf.WebView2.OnWindowPositionChanged(Rect rcBoundingBox)
在 System.Windows.Interop.HwndHost.UpdateWindowPos()
在 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
在 System.Windows.ContextLayoutManager.UpdateLayout()
在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
在 System.Windows.Interop.HwndSource.LayoutFilterMessage(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)
COMException: 组或资源的状态不是执行请求操作的正确状态。 (异常来自 HRESULT:0x8007139F)
StackTrace:
在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Controller.set_Bounds(tagRECT Bounds)
在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.set_Bounds(Rectangle value)
版本:1.42.8
2025-05-14 23:44
Microsoft Windows NT 10.0.26100.0