C# Class RockWeb.Global

Inheritance: System.Web.HttpApplication
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Свойство Type Description
QueueInUse bool

Méthodes publiques

Méthode Description
AddCallBack ( ) : void

Adds the call back.

CacheItemRemoved ( string k, object v, CacheItemRemovedReason r ) : void

Caches the item removed.

DrainTransactionQueue ( ) : void

Drains the transaction queue.

MigrateDatabase ( RockContext rockContext ) : bool

Migrates the database.

MigratePlugins ( RockContext rockContext ) : bool

Migrates the plugins.

RunStartups ( ) : void

Run any custom startup methods

Méthodes protégées

Méthode Description
Application_AuthenticateRequest ( object sender, EventArgs e ) : void

Handles the AuthenticateRequest event of the Application control.

Application_BeginRequest ( object sender, EventArgs e ) : void

Handles the BeginRequest event of the Application control.

Application_End ( object sender, EventArgs e ) : void

Handles the End event of the Application control.

Application_Error ( object sender, EventArgs e ) : void

Handles the Error event of the Application control.

Application_PreSendRequestHeaders ( ) : void

Handles the Pre Send Request event of the Application control.

Application_Start ( object sender, EventArgs e ) : void

Handles the Start event of the Application control.

Session_End ( object sender, EventArgs e ) : void

Handles the End event of the Session control.

Session_Start ( object sender, EventArgs e ) : void

Handles the Start event of the Session control.

Private Methods

Méthode Description
FormatException ( Exception ex, string exLevel ) : string
LoadCacheObjects ( RockContext rockContext ) : void

Loads the cache objects.

LogError ( Exception ex, HttpContext context ) : void

Logs the error to database

LogMessage ( string fileName, string message ) : void
MarkOnlineUsersOffline ( ) : void

Adds the call back.

RegisterRoutes ( RockContext rockContext, RouteCollection routes ) : void

Registers the routes.

SendNotification ( Exception ex ) : void

Sends the notification.

SetError66 ( ) : void

Sets flag for serious error

Method Details

AddCallBack() public static méthode

Adds the call back.
public static AddCallBack ( ) : void
Résultat void

Application_AuthenticateRequest() protected méthode

Handles the AuthenticateRequest event of the Application control.
protected Application_AuthenticateRequest ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_BeginRequest() protected méthode

Handles the BeginRequest event of the Application control.
protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_End() protected méthode

Handles the End event of the Application control.
protected Application_End ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_Error() protected méthode

Handles the Error event of the Application control.
protected Application_Error ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_PreSendRequestHeaders() protected méthode

Handles the Pre Send Request event of the Application control.
protected Application_PreSendRequestHeaders ( ) : void
Résultat void

Application_Start() protected méthode

Handles the Start event of the Application control.
protected Application_Start ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

CacheItemRemoved() public static méthode

Caches the item removed.
public static CacheItemRemoved ( string k, object v, CacheItemRemovedReason r ) : void
k string The k.
v object The v.
r CacheItemRemovedReason The r.
Résultat void

DrainTransactionQueue() public static méthode

Drains the transaction queue.
public static DrainTransactionQueue ( ) : void
Résultat void

MigrateDatabase() public méthode

Migrates the database.
public MigrateDatabase ( RockContext rockContext ) : bool
rockContext RockContext
Résultat bool

MigratePlugins() public méthode

Migrates the plugins.
/// Could not connect to the SQL database! Please check the 'RockContext' connection string in the web.ConnectionString.config file. /// or ///
public MigratePlugins ( RockContext rockContext ) : bool
rockContext RockContext The rock context.
Résultat bool

RunStartups() public méthode

Run any custom startup methods
public RunStartups ( ) : void
Résultat void

Session_End() protected méthode

Handles the End event of the Session control.
protected Session_End ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Session_Start() protected méthode

Handles the Start event of the Session control.
protected Session_Start ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Property Details

QueueInUse public_oe static_oe property

The queue in use
public static bool QueueInUse
Résultat bool