AppConfigServiceSetValueAsync Method

Sets or updates a configuration setting in Azure App Configuration.

Definition

Namespace: MobileTrack.Web.Components.Services
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public 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,

Implements

IAppConfigServiceSetValueAsync(String, String, String, String)

See Also