ErrorFormatterPage

ErrorFormatterPage.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)class

This class is used to support the error handling with mobile pages. If an unhandled exception is thrown from a mobile page, and no custom error page is defined in the web.config file, and the client is not an HTML browser capable of rendering a rich error page, a terse device-specific message will be returned. To create this message, ASP.NET automatically instantiates an ErrorFormatterPage instance, applies the appropriate data, and renders the result.

public class ErrorFormatterPage : MobilePage {
// Public Constructors
   public ErrorFormatterPage( );
// Protected Instance Properties
   protected MobileErrorInfo ErrorInfo{get; }
// Protected Instance Methods
   protected virtual void InitContent( );
   protected override object LoadPageStateFromPersistenceMedium( );// overrides MobilePage  
   protected override void OnInit(EventArgs e);                 // overrides MobilePage
   protected override void SavePageStateToPersistenceMedium(object viewState);// overrides MobilePage 
}

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) System.Web.UI.TemplateControl(System.Web.UI.INamingContainer) System.Web.UI.Page(System.Web.IHttpHandler) MobilePage ErrorFormatterPage



    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