Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try...catch in destructor?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Try...catch in destructor?
Divers
Thread ID:
01047893
Message ID:
01047893
Vues:
50
Where would an exception be thrown if an exception is not handled in the destructor?

The reason I am asking is because I would like to add code to my destructor to shutdown and close a socket if the socket is not shutdown and close before the destructor is executed.

Kind of an odd question but it is almost 5 and my brain is overloaded.
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform