Click or drag to resize

IConfigurationManagerSetAppSetting Method

Set the specified application setting

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
void SetAppSetting(
	string key,
	string value
)

Parameters

key
Type: SystemString
The key of the application setting to set
value
Type: SystemString
The value of the application setting
Exceptions
ExceptionCondition
NotSupportedExceptionIf the implementer does not permit setting of app settings prograatically
Remarks
Some configuration environments may not support the setting or modification of configuration programmatically. This may be the case in highly secured environments (like hospitals, national iCDR deployments). In that case, implementers should throw a NotSupportedException
See Also