English 中文(简体)
视窗移动电话例外处理
原标题:Windows mobile exception handling

视窗移动电话是否有办法追捕全球未经处理的例外情况? 如果没有,是否有任何工作? 具体来说,我们客户的用意不一,我们希望在全球范围处理网络无法使用时产生的例外情形(因此,我们可以提出友好的信息,促使用户再次尝试)。

当我向纽特州报界提出例外时,这项收水声明doesn t

 try
 {
   Application.Run(new Login());
 }
 catch (Exception ex)
 {
   Debug.WriteLine("Caught " + ex);
 }
最佳回答

http://www.danielmoth.com/Blog/appdomainunhandled Tenion-part-1.aspx”rel=“nofollow” AppDomain. UnhandledExceptionhandler,但不能从中收回——你只能记录并关闭。 没有办法让全球手能够回收(至少是在CF中),因为此时无法保证电能。

问题回答

创建静态真空主,并增加一个围绕该方法全局的尝试/捕获物。





相关问题
Using maps on Windows Mobile

I m experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. ...

Build a Bitmap filling it with a smaller image

I m developing a Windows Mobile application with C# and .NET Compact Framework. I want to fill a Bitmap with an image that it s smaller. To fill this new Bitmap I want to repeat the image ...

Bing maps used offline: cache tiles from its web service

I m developing a Windows Mobile application that uses Bing Maps Web Service to show user s position on it. I think I have a problem if the user hasn t got internet service on his mobile, so I think I ...

Determine Mobile Internet Explorer version

I need to determine the version of Mobile Internet Explorer on a Windows Mobile 6.1 device. So that I can report the same user-agent string as is being used by Mobile Internet Explorer. The user-...

Custom listview control for windows mobile in c#

I need to develop a custom listview control (ie, i need two labels and a progress bar in each list item) . I am new to windows mobile so please help me with code samples.

In Which Languages Can I Develop For Windows Mobile?

Today my new HP iPAQ was delivered at my home, but now I want to know two things before I start any project: In which languages can I develop for it(Windows Mobile 5)? Where can I download this ...

热门标签