Hi,
The Try,Catch,Finally documentation states
Execution enters the Try...Catch...Finally block with the statement block following the Try statement. If Visual Basic completes this block without an exception being generated, it looks for the optional Finally statement at the end.
-
-
No matter what happens, the Finally block is always the last code to be executed before leaving Try...Catch...Finally.
My question is: Does the Finally block get executed if a catch is executed?
Reading the above is confusing!
Thanks
Roland
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement