Welcome to MSDN Blogs Sign in | Join | Help

February 2009 - Posts

CLR Inside Out - Isolated Storage in Silverlight 2

The March installment of the “CLR Inside Out” column in MSDN magazine is now available on line. This month we have an article from Justin Van Patten on Isolated Storage in Silverligth 2 . You can find a list of all “CLR Inside Out” articles here . As

CLR Inside Out - Handling Corrupted State Exceptions

As Andrew pointed out in his recent post, the February installment of the “CLR Inside Out” column in MSDN magazine is now available on line. This month we have an article from Andrew Pardoe on Handling Corrupted State Exceptions . You can find a list
Posted by CLRTeam | 1 Comments

Why catch(Exception)/empty catch is bad

You’ve seen the advice before— it’s not a good programming practice to catch System.Exception . Because managed exceptions are hierarchical, catching the top of the hierarchy—e.g., catch(Exception)—is an easy way to make sure that you catch all exceptions.

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