Exception:调用线程无法访问此对象,因为另一个线程拥有该对象。

报错信息 1
InvalidOperationException: 调用线程无法访问此对象,因为另一个线程拥有该对象。
StackTrace:
   在 System.Windows.Threading.Dispatcher.VerifyAccess()
   在 System.Windows.Window.Show()
   在 DynamicClass.WindowManager.<>c__DisplayClass1.<OnWindowCreated>b__0()
   在 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)
   在 System.Threading.ThreadHelper.ThreadStart()

版本:1.43.19 2024-09-09 01:59 Microsoft Windows NT 10.0.22631.0