CMSApplication Class |
Namespace: CMS.DataEngine
public class CMSApplication
The CMSApplication type exposes the following members.
Name | Description | |
---|---|---|
CMSApplication |
Name | Description | |
---|---|---|
ApplicationEnd |
Raises the application end event to properly end the application
| |
ApplicationError |
Raises the application error event
| |
GetVaryByCustomString |
Returns the
| |
Init |
Performs the application initialization on the first request.
| |
InstallRedirect |
Redirects user to the installation page if connectionString not set.
| |
PostStart |
Runs the application post start event in case it wasn't run already
| |
PreInit |
Performs the application pre-initialization on the first request.
| |
ReInit |
Reinitializes the application by resetting the application variables.
| |
ReportApplicationError |
Reports the application error
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
EnsureDefaultDBSchema |
If true, the application ensures the default schema for the user upon its initialization. Use this setting for Windows authentication on DB server with automatic default schema.
| |
WaitForDatabaseAvailable |
If true, the process without the database available waits for the database instead of attempting to redirect to DB installation wizard. Use this for background applications such as services, that start automatically prior to the installation.
|
Name | Description | |
---|---|---|
ApplicationErrorMessage |
Connection error message.
| |
ApplicationInitialized |
Defines the state whether the application is initialized. If true, the application was initialized correctly. If false, the application was initialized with an error. If null, the initialization is to be done.
| |
ApplicationStart |
Date and time of the application start.
| |
ApplicationStartFinished |
Date and time when the application start (initialization) finished its execution.
|