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 are the namespace available in .net?
What are the similarities and difference between class and structure in .net?
What is the difference between .net and laravel?
Please tell us what is the difference between override and overload in a method?
Is .net an object oriented language? What are their components?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
What is the advantage of .net?
Explain the use of activex control in .net?
Why you want to leave your previous company.
What are two different types of remote object creation mode in .net?
How will you load an assembly which is not referenced by current assembly?
Please explain what is the difference between constants and read-only variables?
How do you define the lease of the object in .net?
What are the differences between an interface and an abstract class in .net?
Interop Services?