Exception:未能设置指定的 COM 单元状态。

报错信息 1
InvalidOperationException: 未能设置指定的 COM 单元状态。
StackTrace:
   在 System.Threading.Thread.SetApartmentState(ApartmentState state)
   在 DynamicClass.InputLockHelper.<>c__DisplayClass2.<EnableLock>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.44.51 2026-01-13 16:15 Microsoft Windows NT 10.0.26200.0