Sets up all static variables of the Settings class based on System.Configuration.Configuration object passed as a parameter.

Namespace:  EPiServer.Configuration
Assembly:  EPiServer.Configuration (in EPiServer.Configuration.dll) Version: 5.2.375.236

Syntax

C#
public static void InitializeAllSettings(
	Configuration config
)

Parameters

config
Type: System.Configuration..::.Configuration
The System.Configuration.Configuration object that contains the EPiServer settings.

Return Value

Exceptions

ExceptionCondition
System.Configuration..::.ConfigurationErrorsException If there is an enterprise solution and the siteHosts section is missing with the value "*"

See Also