What is the Exit Try statement?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the Exit Try statement?
Rating:
The Exit Try statement is used to unconditionally break out of a Try...Catch structure. This statement can be used either in a Try block or in a Catch block. It cannot be used within a Finally block. As soon as the program control encounters an Exit Try statement, it jumps out of the Try...Catch structure. If a Finally block is present, the execution of the program resumes with the code immediately following the Finally block. Otherwise, the execution resumes with the code immediately following the End Try statement.
Rating:
Was this information helpful?
Other articles
- What is the CancelButton property?
- What is MyBase keyword?
- What is Cert2spc.exe?
- What is Microsoft .NET?
- What are runtime errors?