AppCorePreInit Method |
Namespace: CMS.Core
public static bool PreInit()
Exception | Condition |
---|---|
InvalidOperationException | Thrown when a loop occurs in application core pre-initialization. |
This method is not intended to be used in custom code. Use CMS.DataEngine.CMSApplication.PreInit() instead.
A loop in application core pre-initialization is typically caused by some module's pre-initialization code trying to perform actions which require the application core to be already pre-initialized. Module's pre-initialization must never rely on such actions.