How many types of exception handlers are there in .NET?
Answer Posted / mayur rathod
The exception information table represents four types of
exception handlers for protected blocks:
A finally handler that executes whenever the block exits,
whether that occurs by normal control flow or by an
unhandled exception.
A fault handler that must execute if an exception occurs,
but does not execute on completion of normal control flow.
A type-filtered handler that handles any exception of a
specified class or any of its derived classes.
A user-filtered handler that runs user-specified code to
determine whether the exception should be handled by the
associated handler or should be passed to the next protected
block.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is typical about a windows process in regards to memory allocation in dot net?
What is the purpose of IClonable interface in .NET?
Write the .net syntax for 'for loop'?
Explain the difference between the while and for loop. Provide a .net syntax for both loops?
What is the difference between server.transfer and response.redirect? Why?
Explain what is reflection in microsoft .net context?
What is manifest in .net?
How you apply a theme in whole application in .Net?
Explain what is the difference between odbc and ado?
How do I use the thread pool?
Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?
Explain .net framework overview?
What is a metadata in .net?
Explain when should you use .net web forms over asp.net mvc?
Is .net 4.8 backwards compatible?