Exception Handling using Enterprise Library

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.
[574 byte] By [lukevprem] at [2007-11-20 6:09:12]