Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing Unhandled Exceptions in Winforms (C#)
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01301455
Message ID:
01301578
Vues:
20
>>>>>>>Use the Application.ThreadException() to set up a new handler. You can also use the Application.SetUnhandledExceptionMode() to set up a handler as well.
>
>Thanks! It's sometimes difficult using the online help. Some say the documentation is all there, others says it's incomplete, and there are some who say it would be too large to print out! Well, all I have to say is Microsoft really needs to make it more useful--because it's poorly organized.
>
>>>>>Of course you should have try{}...catch{} around sections of code and not only rely on these global error handlers.
>
>Yep, already know this and I use try...catch; I'm sure many here think I don't based on my question. Glad you pointed it out!

I agree with you that it's hard to work out through documentation, there is just too much of it...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform