views:

33

answers:

1

I have a piece of code that I got from MSDN and I am not sure how do I reference this class?

It mentioned about Exception Management Application Block ... is this an old version of Ms Enterprise Library?

catch (Exception generalException)
{
    ExceptionManager.LogException(generalException);
}
A: 

Yes, Exception Management Application Block does have a type named ExceptionManager, but it has no such method like LogException, it has overloaded method HandleException instead. Read Here for more details

Hiber