Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Gaurav Khanna   (RSS)

How CLR maps SEH exceptions to managed exception types

Managed exception handling is built on Windows OS’s Structured Exception Handling , commonly referred to as SEH (to learn more about SEH, please read Matt Pietrek’s excellent article first). This implies that CLR understands how to interoperate between

Exceptions out of Fault/Finally

Assumption: This write-up assumes that you are familiar with the managed exception handling constructs (e.g. catch, filter, fault, finally). If not, you may want to read this and also refer to the CLI specification . Managed exception handling exposes

Catch, Rethrow and Filters - Why you should care?

A very common pattern in the usage of managed exception handling is that of catching an exception, inspecting it's type and rethrowing it once you realize it was not the exception you wanted to handle. Below is such an example (and should be avoided in
 
Page view tracker