Thursday 18 June 2015

We all know in Try-catch-finally block finally is called every time whether exception came or not, but in which condition or scenario finally block will not called?

As we know that finally block will called every time whether exception occurred or not, but in some scenario finally will not called.

Finally block will not called in the following scenario:-
1.) System.ExecutionEnginException
2.) System.StackOverFlowException
3.) Page state is changed inside try block

No comments:

Post a Comment

Note: only a member of this blog may post a comment.