AdvantageBaseErrorPage Members
The AdvantageBaseErrorPage type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
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.
|
|
|
Dispose |
Disposes this instance.
(Inherited from AdvantagePageTemplate.) |
|
|
DomainModule_getModuleByID |
Domains the module get module by identifier.
(Inherited from AdvantagePageTemplate.) |
|
|
GetErrorMessage |
Gets the error message.
|
|
|
GetNavigations | (Inherited from AdvantageCommonBasePage.) |
|
|
GetSEOContent |
Gets the content of the seo.
(Inherited from AdvantagePageTemplate.) |
|
|
IsPreviewActiveCMSUser |
Determines whether [is preview active CMS user].
(Inherited from AdvantagePageTemplate.) |
|
|
JavascriptLanguagePages |
Javascripts the language pages.
(Inherited from AdvantagePageTemplate.) |
|
|
LanguagePages |
Languages the pages.
(Inherited from AdvantagePageTemplate.) |
|
|
OnError | (Inherited from AdvantageCommonBasePage.) |
|
|
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.
|
|
|
OnLoadComplete |
Raises the LoadComplete event. Skipped when
_byPassStaticFiles is set.
|
|
|
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.
|
|
|
OnPreLoad |
Raises the PreLoad event. Skipped when
_byPassStaticFiles is set.
|
|
|
OnPreRender |
Raises the PreRender event. Skipped when
_byPassStaticFiles is set.
|
|
|
OnPreRenderComplete |
Raises the PreRenderComplete event. Skipped when
_byPassStaticFiles is set.
|
|
|
OnSaveStateComplete |
Raises the SaveStateComplete event. Skipped when
_byPassStaticFiles is set.
|
|
|
OnUnload |
Raises the Unload event. Disposes the page's
managed engines and SQL connections, then forwards to the base implementation.
(Inherited from AdvantagePageTemplate.) |
|
|
ReceiveEvent |
Virtual method that can be overridden to receive messages that are broadcast via the "BroadcastEvent" method
(Inherited from AdvantagePageTemplate.) |
|
|
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.
|
|
|
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.) |
|
|
SetOpenGraph |
Sets the open graph.
(Inherited from AdvantagePageTemplate.) |
|
|
SiteSettings()()()() |
Retrieves the domain-level site settings as a dynamic object.
(Inherited from AdvantagePageTemplate.) |
|
|
SiteSettings<(Of <<'(T>)>>)()()()() |
Sites the settings.
(Inherited from AdvantagePageTemplate.) |
Fields
| Name | Description | |
|---|---|---|
|
|
_byPassStaticFiles |
When true, a static-file-like request (images, scripts, fonts, etc.) was detected
and every subsequent lifecycle stage skips its base call so the runtime returns the raw
404/500 status without rendering the error page shell.
|
Properties
| Name | Description | |
|---|---|---|
|
|
AdvantagePageDescription |
Gets or sets the advantage page description.
(Inherited from AdvantagePageTemplate.) |
|
|
AdvantagePageName |
Gets or sets the name of the advantage page.
(Inherited from AdvantagePageTemplate.) |
|
|
ConfigurationEngine |
Gets the configuration engine.
(Inherited from AdvantageCommonBasePage.) |
|
|
ContainerControl |
Gets the container control.
|
|
|
CSFREnabled |
Gets a value indicating whether CSRF protection is enabled.
Initial value is retrieved from appsettings ("CsrfProtection") and can be overwritten.
(Inherited from AdvantagePageTemplate.) |
|
|
CSPNonce |
Gets the nonce value for Content-Security-Policy
(Inherited from AdvantageCommonBasePage.) |
|
|
CurrentDomain |
Gets the current domain.
|
|
|
CurrentLanguage |
Gets the current language.
|
|
|
CurrentNavigationPage |
Gets the current navigation page.
(Inherited from AdvantagePageTemplate.) |
|
|
CurrentSitePage |
Gets the current site page.
(Inherited from AdvantagePageTemplate.) |
|
|
DatabaseCacheManager |
Gets the database cache manager. Which allows for domain/language save storage of items by id
(Inherited from AdvantageCommonBasePage.) |
|
|
Domain |
Gets the domain.
(Inherited from AdvantageCommonBasePage.) |
|
|
ErrorCode |
Gets the error code.
|
|
|
IsMobile |
Gets a value indicating whether this instance is mobile.
(Inherited from AdvantagePageTemplate.) |
|
|
IsPreview |
Gets a value indicating whether this instance has been called by the preview
(Inherited from AdvantagePageTemplate.) |
|
|
IsRewrite |
Gets a value indicating whether this instance is rewrite.
(Inherited from AdvantagePageTemplate.) |
|
|
IsSearchAgent |
Gets a value indicating whether this instance has been called by the search agent.
(Inherited from AdvantagePageTemplate.) |
|
|
Language |
Gets the language.
(Inherited from AdvantageCommonBasePage.) |
|
|
LanguageAbreviation |
Gets the language abreviation.
|
|
|
LanguageID |
Gets the current language identifier for the page context.
(Inherited from AdvantageCommonBasePage.) |
|
|
ModuleEngine |
Gets the module engine.
(Inherited from AdvantageCommonBasePage.) |
|
|
NavigationEngine |
Gets the navigation engine.
(Inherited from AdvantageCommonBasePage.) |
|
|
PageMetaDescription |
Gets or sets the page meta description.
(Inherited from AdvantagePageTemplate.) |
|
|
PageMetaKeywords |
Gets or sets the page meta keywords.
(Inherited from AdvantagePageTemplate.) |
|
|
RenderMode |
Gets the render mode of the current request.
This function may allows you the developer to make decisions based on the context of the page.
For example:
In visual edit or preview mode, you may want to select an object if you are using a rewrite object.
If the page is protected, you may want to allow the searchagent access to index the page.
(Inherited from AdvantagePageTemplate.) |
|
|
SitePageID |
Gets or sets the site page identifier.
(Inherited from AdvantagePageTemplate.) |
|
|
Title |
Gets or sets the title.
(Inherited from AdvantagePageTemplate.) |
|
|
WebCacheManager |
Gets the web cache manager. Which allows for domain/language save storage of items by id
(Inherited from AdvantageCommonBasePage.) |

