C# Класс Unic.SitecoreCMS.Modules.ErrorManager.Controls.BaseError

Base class for all error pages. First of all we search for an Sitecore.Data.Items.Item in the current Sitecore.Sites.SiteContext and in the current Sitecore.Globalization.Language (or in the default language of the current Sitecore.Sites.SiteContext). If not found, we take the configured static file as error page. After resolving the url to the error page, we make a System.Net.HttpWebRequest to this page and write the raw content of the System.Net.HttpWebResponse to the current response.
Наследование: System.Web.UI.Page
Показать файл Открыть проект

Защищенные методы

Метод Описание
OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event and try to resolve the raw data for the error page. At the end, outputs the raw data of the content we want to display.

Приватные методы

Метод Описание
ValidateRemoteCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool

Validates the remote certificate without regarding the validity of it.

Описание методов

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event and try to resolve the raw data for the error page. At the end, outputs the raw data of the content we want to display.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void