Click or drag to resize

ContextFactoryGetConfigSetting Method

Returns a configuration setting from the web.config file. If the setting is null or a zero-length string the defaultValue is returned.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string GetConfigSetting(
	string settingName,
	string defaultValue
)

Parameters

settingName
Type: SystemString
The name of the setting to retrieve.
defaultValue
Type: SystemString
The default value if the key is missing from the section

Return Value

Type: String
A string representing the requested setting from the web.config file.
See Also