C# Class 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.
Inheritance: System.Web.UI.Page
ファイルを表示 Open project: unic/SitecoreErrorManager

Protected Methods

Method Description
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.

Private Methods

Method Description
ValidateRemoteCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors policyErrors ) : bool

Validates the remote certificate without regarding the validity of it.

Method Details

OnLoad() protected method

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.
return void