If you want to raise an app error within an http module, you simply throw an exception according to the error you encountered.
If you want to do something when such an app error is raised, then in your module you need to need to handle the Error event of your application context:
public void Init(HttpApplication context) { context.Error += new EventHandler(context_Error); }
How to give Application_Error event in HTTP Modules?
How to give Application_Error event in HTTP Modules?
--vijay.
If you want to raise an app error within an http module, you simply throw an exception according to the error you encountered.
If you want to do something when such an app error is raised, then in your module you need to need to handle the Error event of your application context:
I hope that this helps you...
Thanks for your reply,
---vijay.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.