The CMSApplication type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CMSApplication |
Methods
Name | Description | |
---|---|---|
ApplicationEnd |
Raises the application end event
| |
ApplicationError |
Raises the application error event
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVaryByCustomString |
Returns the
| |
Init |
Performs the application initialization on the first request.
| |
InstallRedirect |
Redirects user to the installation page if connectionString not set.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostStart |
Runs the application post start event in case it wasn't run already
| |
PreInit |
Performs the application pre-initialization on the first request.
| |
ReportApplicationError |
Reports the application error
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Fields
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.
| |
mApplicationInitialized |
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.
| |
mApplicationPreInitialized |
If true, the application is pre-initialized
| |
mApplicationStart |
Date and time when the application started
| |
mApplicationStartFinished |
Date and time when the application start finished
| |
mPostStartRaised |
If true, the system executes first request after the system start
| |
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.
|
Properties
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.
|
See Also