ApplicationEvents Class |
Namespace: CMS.Base
public sealed class ApplicationEvents
The ApplicationEvents type exposes the following members.
Name | Description | |
---|---|---|
End |
Occurs just before the application shuts down.
| |
Error |
Occurs when an unhandled exception is thrown.
| |
Finalize |
Occurs just before the application shuts down, after the End application event.
| |
GetVaryByCustomString |
Occurs when the application evaluates variables in custom names of output cache keys.
| |
Initialized |
Occurs after the application finishes initialization.
| |
PostStart |
Occurs after the end of the first application request after successful initialization.
| |
PreInitialized |
Occurs after the application pre-initialization.
| |
SessionEnd |
Occurs when an HTTP session is destroyed.
| |
SessionStart |
Occurs when a new HTTP session is created for a client.
| |
UpdateData |
Occurs when the application is ready to perform an upgrade routine.
|
The events are represented by fields of the SimpleHandler type. Handler methods need to be assigned to the Execute event of individual fields.
Some of the ApplicationEvents are not raised out of web-based applications without the CMSApplication module (when using the Kentico API externally).