C# 클래스 RockWeb.Global

상속: System.Web.HttpApplication
파일 보기 프로젝트 열기: NewSpring/Rock

공개 프로퍼티들

프로퍼티 타입 설명
QueueInUse bool

공개 메소드들

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

보호된 메소드들

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

비공개 메소드들

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

메소드 상세

AddCallBack() 공개 정적인 메소드

Adds the call back.
public static AddCallBack ( ) : void
리턴 void

Application_AuthenticateRequest() 보호된 메소드

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.
리턴 void

Application_BeginRequest() 보호된 메소드

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.
리턴 void

Application_End() 보호된 메소드

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.
리턴 void

Application_Error() 보호된 메소드

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.
리턴 void

Application_PreSendRequestHeaders() 보호된 메소드

Handles the Pre Send Request event of the Application control.
protected Application_PreSendRequestHeaders ( ) : void
리턴 void

Application_Start() 보호된 메소드

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.
리턴 void

CacheItemRemoved() 공개 정적인 메소드

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.
리턴 void

DrainTransactionQueue() 공개 정적인 메소드

Drains the transaction queue.
public static DrainTransactionQueue ( ) : void
리턴 void

MigrateDatabase() 공개 메소드

Migrates the database.
public MigrateDatabase ( RockContext rockContext ) : bool
rockContext RockContext
리턴 bool

MigratePlugins() 공개 메소드

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.
리턴 bool

RunStartups() 공개 메소드

Run any custom startup methods
public RunStartups ( ) : void
리턴 void

Session_End() 보호된 메소드

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.
리턴 void

Session_Start() 보호된 메소드

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.
리턴 void

프로퍼티 상세

QueueInUse 공개적으로 정적으로 프로퍼티

The queue in use
public static bool QueueInUse
리턴 bool