IAppConfigServiceSetValueAsync Method

Sets or updates a configuration setting in Azure App Configuration.

Definition

Namespace: MobileTrack.Web.Components.Interfaces
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<bool> SetValueAsync(
	string key,
	string value,
	string? label = null,
	string? contentType = null
)

Parameters

key  String
The key of the configuration setting to set or update.
value  String
The value to assign to the key.
label  String  (Optional)
An optional label to associate with the setting.
contentType  String  (Optional)
The content type of the config

Return Value

TaskBoolean
if the operation was successful; otherwise,

See Also