Click or drag to resize
CMSApplication Class
Base class for CMS Application
Inheritance Hierarchy
SystemObject
  CMS.DataEngineCMSApplication

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class CMSApplication

The CMSApplication type exposes the following members.

Constructors
  NameDescription
Public methodCMSApplication
Top
Methods
  NameDescription
Public methodStatic memberApplicationEnd
Raises the application end event to properly end the application
Public methodStatic memberApplicationError
Raises the application error event
Public methodStatic memberGetVaryByCustomString
Returns the
Public methodStatic memberInit
Performs the application initialization on the first request.
Public methodStatic memberInstallRedirect
Redirects user to the installation page if connectionString not set.
Public methodStatic memberPostStart
Runs the application post start event in case it wasn't run already
Public methodStatic memberPreInit
Performs the application pre-initialization on the first request.
Public methodStatic memberReInit
Reinitializes the application by resetting the application variables.
Public methodStatic memberReportApplicationError
Reports the application error
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberEnsureDefaultDBSchema
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.
Public fieldStatic memberWaitForDatabaseAvailable
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.
Top
Properties
  NameDescription
Public propertyStatic memberApplicationErrorMessage
Connection error message.
Public propertyStatic memberApplicationInitialized
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.
Public propertyStatic memberApplicationStart
Date and time of the application start.
Public propertyStatic memberApplicationStartFinished
Date and time when the application start (initialization) finished its execution.
Top
See Also