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

报错信息

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()

 

解决方法

暂无解决方案。

相关信息
0 查看
2026-01-13 16:15
Quicker版本
版本 反馈次数