Class Initialize
The Object to initialize application.
Inheritance
System.Object
Initialize
Namespace: DotNetNuke.Common
Assembly: DotNetNuke.dll
Syntax
public class Initialize : object
Methods
| Improve this Doc View SourceInit(HttpApplication)
Inits the app.
Declaration
public static void Init(HttpApplication app)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpApplication | app | The app. |
LogEnd()
LogEnd logs the Application Start Event.
Declaration
public static void LogEnd()
LogStart()
LogStart logs the Application Start Event.
Declaration
public static void LogStart()
ProcessHttpModule(HttpRequest, Boolean, Boolean)
Tests whether this request should be processed in an HttpModule.
Declaration
public static bool ProcessHttpModule(HttpRequest request, bool allowUnknownExtensions, bool checkOmitFromRewriteProcessing)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpRequest | request | The Http request. |
| System.Boolean | allowUnknownExtensions | When false only .aspx, .asmx, .ashx, .svg are checked for Http Module processing. |
| System.Boolean | checkOmitFromRewriteProcessing | A value indicating whether to check for "omit from rewrite" processing. |
Returns
| Type | Description |
|---|---|
| System.Boolean | A value indicating whether the request should be processed in an HttpModule. |
RunSchedule(HttpRequest)
Attemps to run scheduled tasks when "Request Method" is used in the scheduler.
Declaration
public static void RunSchedule(HttpRequest request)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpRequest | request | The http request. |
StartScheduler(Boolean)
StartScheduler starts the Scheduler.
Declaration
public static void StartScheduler(bool resetAppStartElapseTime = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | resetAppStartElapseTime | Whether reset app start elapse time before running schedule tasks. |
StopScheduler()
StopScheduler stops the Scheduler.
Declaration
public static void StopScheduler()