C# Class SenseNet.Portal.Global

Inheritance: System.Web.HttpApplication
显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
RegisterRoutes ( RouteCollection routes ) : void

Protected Methods

Method Description
ApplicationEndHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
ApplicationErrorHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
ApplicationStartHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
Application_BeginRequest ( object sender, EventArgs e ) : void
Application_End ( object sender, EventArgs e ) : void
Application_EndRequest ( object sender, EventArgs e ) : void
Application_Error ( object sender, EventArgs e ) : void
Application_Start ( object sender, EventArgs e ) : void

Private Methods

Method Description
GetDefaultErrorPageHtml ( string serverMapPath, string page, string offlinePage, bool tryOnline ) : string

Gets the default error page HTML.

GetDefaultLocalErrorPageHtml ( string p, bool tryOnline ) : string

Gets the default local error page HTML.

GetDefaultUserErrorPageHtml ( string p, bool tryOnline ) : string

Gets the default user error page HTML.

GetStatusCode ( Exception exception, int &exceptionStatusCode, int &exceptionSubStatusCode ) : bool
InsertErrorMessagesIntoHtml ( Exception exception, string errorPageHtml ) : string

Method Details

ApplicationEndHandler() protected static method

protected static ApplicationEndHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
sender object
e System.EventArgs
application System.Web.HttpApplication
return void

ApplicationErrorHandler() protected static method

protected static ApplicationErrorHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
sender object
e System.EventArgs
application System.Web.HttpApplication
return void

ApplicationStartHandler() protected static method

protected static ApplicationStartHandler ( object sender, EventArgs e, System.Web.HttpApplication application ) : void
sender object
e System.EventArgs
application System.Web.HttpApplication
return void

Application_BeginRequest() protected method

protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Application_End() protected method

protected Application_End ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Application_EndRequest() protected method

protected Application_EndRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Application_Error() protected method

protected Application_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Application_Start() protected method

protected Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

RegisterRoutes() public static method

public static RegisterRoutes ( RouteCollection routes ) : void
routes RouteCollection
return void