本文介绍了在我调试项目时遇到异常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

你好团队,



我收到以下错误,我不明白。请指导我。



CLR无法从COM上下文0x4097e0过渡到COM上下文0x409950,持续60秒。

拥有目标上下文/公寓的线程最有可能是进行非抽空等待或

处理非常长时间运行的操作而不抽取Windows消息。这种情况通常会对性能产生负面影响,甚至可能导致应用程序变得无响应或内存随着时间的推移不断累积。为了避免这个问题,所有单线程单元(STA)

线程都应该使用抽取等待原语(例如CoWaitForMultipleHandles)并在长时间运行期间定期泵送消息。



谢谢

Harshal

Hi Team,

I am getting the following error which i am not getting understand .Please kindly guide me.

The CLR has been unable to transition from COM context 0x4097e0 to COM context 0x409950 for 60 seconds.
The thread that owns the destination context/apartment is most likely either doing a non pumping wait or
processing a very long running operation without pumping Windows messages. This situation generally has
a negative performance impact and may even lead to the application becoming non responsive or memory
usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA)
threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

Thanks
Harshal

推荐答案


这篇关于在我调试项目时遇到异常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 02:51