Click to See Complete Forum and Search --> : Exception Handling using Enterprise Library


lukevprem
March 12th, 2007, 06:28 AM
Hi,

I want to use Microsoft's Enterprise Library for handling exceptions. After throwing exceptions, in the UI the exception is handled using the function ExceptionPolicies.HandleException(Exception, <Policy Name>).

In my web application, if I want to show the error message in an errorpage.aspx, what should be the policy name and how I should handle it?

If I want to log the error message into eventviewer, what should be the policy name and how I should handle it?

Your reply will be very helpful.

Thanks,
Luke.