AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageBaseErrorPage Methods

The AdvantageBaseErrorPage type exposes the following members.

Methods


  Name Description
Protected method ByPassStaticFiles
Determines whether the current request targets a static resource (images, fonts, scripts, WebResource.axd / ScriptResource.axd handlers, etc.) so the error-page lifecycle can short-circuit and return the raw status code without rendering markup.
Public method Dispose
Disposes this instance.
(Inherited from AdvantagePageTemplate.)
Protected method DomainModule_getModuleByID
Domains the module get module by identifier.
(Inherited from AdvantagePageTemplate.)
Public method GetErrorMessage
Gets the error message.
Public method GetNavigations (Inherited from AdvantageCommonBasePage.)
Protected method GetSEOContent
Gets the content of the seo.
(Inherited from AdvantagePageTemplate.)
Protected method IsPreviewActiveCMSUser
Determines whether [is preview active CMS user].
(Inherited from AdvantagePageTemplate.)
Protected method JavascriptLanguagePages
Javascripts the language pages.
(Inherited from AdvantagePageTemplate.)
Public method LanguagePages
Languages the pages.
(Inherited from AdvantagePageTemplate.)
Protected method OnError (Inherited from AdvantageCommonBasePage.)
Protected method OnInit
Raises the Init event. Writes the HTTP status code and, for warmup requests, emits a minimal HTML stub and ends the response. For static file 404s, sets _byPassStaticFiles and skips the base initialisation.
Protected method OnLoadComplete
Raises the LoadComplete event. Skipped when _byPassStaticFiles is set.
Protected method OnPreInit
Raises the PreInit event. If the request is a 404 for a static file, sets _byPassStaticFiles and short-circuits before the base page's template/master-page setup runs.
Protected method OnPreLoad
Raises the PreLoad event. Skipped when _byPassStaticFiles is set.
Protected method OnPreRender
Raises the PreRender event. Skipped when _byPassStaticFiles is set.
Protected method OnPreRenderComplete
Raises the PreRenderComplete event. Skipped when _byPassStaticFiles is set.
Protected method OnSaveStateComplete
Raises the SaveStateComplete event. Skipped when _byPassStaticFiles is set.
Protected method OnUnload
Raises the Unload event. Disposes the page's managed engines and SQL connections, then forwards to the base implementation.
(Inherited from AdvantagePageTemplate.)
Public method ReceiveEvent
Virtual method that can be overridden to receive messages that are broadcast via the "BroadcastEvent" method
(Inherited from AdvantagePageTemplate.)
Protected method Render
Renders the error page to the response stream. Skipped entirely when _byPassStaticFiles is set so the runtime returns the raw status code without markup.
Protected method SaveViewState
Saves any server control view-state changes that have occurred since the time the page was posted back to the server. Removes the X-Frame-Options: deny response header when the page is rendered in edit or preview mode (so the page can be iframed by the admin surface), and asserts that the Content-Powered-By header has not been tampered with.
(Inherited from AdvantagePageTemplate.)
Public method SetOpenGraph
Sets the open graph.
(Inherited from AdvantagePageTemplate.)
Public method SiteSettings()()()()
Retrieves the domain-level site settings as a dynamic object.
(Inherited from AdvantagePageTemplate.)
Public method SiteSettings<(Of <<'(T>)>>)()()()()
Sites the settings.
(Inherited from AdvantagePageTemplate.)