Maps url to a Settings instance.
Namespace:
EPiServer.ConfigurationAssembly: EPiServer.Configuration (in EPiServer.Configuration.dll) Version: 5.2.375.236
Syntax
Parameters
- url
- Type: System..::.Uri
The URL.
Return Value
Remarks
This is used for EPiServer Enterprise solutions where you have multiple <settings> sections in the
same web.config file. if the host name that is safe to use for DNS resolution does NOT exist
then it maps to fallback host which is indicates with "*"
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown ArgumentNullException if the uri is null |
| System..::.ArgumentException | Thrown ArgumentException if the uri is NOT absolute |
| System.Configuration..::.ConfigurationErrorsException | If the uri absolute path is NOT equal with the site settings absoulte path. Hits when the uri has a path that is outside of the application root |