ErrorHandlerModule.NET 1.1

System.Web.Mobile (

This module is used internally by ASP.NET to deal with unhandled exceptions. In the case of an exception, ASP.NET will return a page with a short error message (much as in a standard ASP.NET web page). The error message will be automatically formatted to the target device's expected markup. For WML devices, this will be a card deck. For HTML devices, this will be a page of HTML.

The automatically generated error messages are useful while debugging, but may not be shown to remote clients (depending on your settings in the web.config file). A better option is to write custom error pages and specify them using the web.config file before deploying a mobile web application.

public class ErrorHandlerModule : System.Web.IHttpModule {
// Public Constructors
   public ErrorHandlerModule( );

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace