DekGenius.com
[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section