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
파일 보기 프로젝트 열기: unic/SitecoreErrorManager

보호된 메소드들

메소드 설명
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