PC Review


Reply
Thread Tools Rate Thread

Centralized Exception Handling

 
 
Gregory Douroux
Guest
Posts: n/a
 
      2nd Oct 2003
Hi,

Is there a way to centralize exception handling by catching untrapped
exception. "ThreadException" event at Application level is unfortunately
not supported by the
..NET compact framework. Maybe a solution through platform invokes ?

Any help will be appreciated.

Thanks

Greg


 
Reply With Quote
 
 
 
 
Scott Corbin [MS]
Guest
Posts: n/a
 
      29th Oct 2003
Hello Gregory,

Unfortunately there is no mechanism available for catching unhandled
exceptions in all threads.

Scott Corbin

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Gregory Douroux" <(E-Mail Removed)>
| Subject: Centralized Exception Handling
| Date: Thu, 2 Oct 2003 13:45:20 +0200
| Lines: 14
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: netsgopro77.monaco377.com 195.78.15.77
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:34954
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi,
|
| Is there a way to centralize exception handling by catching untrapped
| exception. "ThreadException" event at Application level is unfortunately
| not supported by the
| .NET compact framework. Maybe a solution through platform invokes ?
|
| Any help will be appreciated.
|
| Thanks
|
| Greg
|
|
|

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resume Exception After Handling Exception in C# beginner Microsoft C# .NET 9 18th Jan 2008 04:27 PM
Centralized Error Handling ASP.NET WEB APPLICATION =?Utf-8?B?c3M=?= Microsoft ASP .NET 1 3rd May 2006 11:27 AM
Handling an exception inside an exception's constructor? Rick Microsoft C# .NET 4 1st Mar 2006 08:14 PM
Publish exception to Email in Exception Handling Exception Block =?Utf-8?B?ZW15?= Microsoft C# .NET 1 31st Mar 2005 12:45 PM
exception handling using SQLClient - is this the only exception that is caught??? James Cooke Microsoft VB .NET 2 18th Sep 2003 06:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:15 PM.