看板 C_Sharp 關於我們 聯絡資訊
每當我在處理龐大文字時, 都會跳出這個訊息,可是又不大懂.. 不知是否有特殊方法可以避免. 希望各位高手能解答我的疑惑,萬分感謝 訊息如下: The CLR has been unable to transition from COM context 0x2816c10 to COM context 0x2816e60 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. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 120.126.194.160
Elly:好像只要跑到無限迴圈就會有這種訊息,你再檢查一下code y 02/05 00:11
CrazyGod:可是會出現 結束/繼續之選項,點了繼續還真的是跑得玩. 02/05 11:59
CrazyGod:所以不知是...什麼情況耶.. 02/05 11:59
CrazyGod: 得完. 02/05 12:00