如何处理异常HRESULT:0x800700AA在浏览器应用程序中 [英] how to handle exception HRESULT: 0x800700AA in browser application
本文介绍了如何处理异常HRESULT:0x800700AA在浏览器应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我正在用C#开发一个简单的浏览器应用程序.它对我来说很好用,但有时会显示异常:
COM异常
所请求的资源正在使用中. (来自HRESULT的异常:0x800700AA)
Hi
i am developing a simple browser application in C#. It works fine for me but sometimes it shows Exception:
COM Exception
The requested resource is in use. (Exception from HRESULT: 0x800700AA)
How can i handle it?
推荐答案
请确保您正在从UI线程访问浏览器对象.从未创建线程的线程访问它可能会导致问题.
还有其他可能的原因. Google是您的朋友.
Make sure you''re accessing the browser object from the UI thread. Accessing it from a thread that didn''t create it might cause problems.
There are other possible reasons. Google is your friend.
这篇关于如何处理异常HRESULT:0x800700AA在浏览器应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文