Exception Handling Global Catch - Able to get parameters? RRS feed

  • Question

  • User1031775717 posted


     I have a BasePage which all my asp.net pages inherit from. In this base page I hook up the Page.Error event and when an error occurs I call the Exception Handling Application Blocks to generate an email.  This works fine.

    I was wondering if it's possible to get the parameters that were used on the page when the error was generated without doing individual try catch blocks around the things that generate errors.

    Thanks in advance.


    Wednesday, September 19, 2007 1:47 AM

All replies

  • User-168033412 posted


    Which parameters are you talking about, or these Request parameters, then you can get them by looping on Request.Params collection. 

    Wednesday, September 19, 2007 5:22 AM