ISettingsService.PutSettingAsync(String, ServiceUploadParameters) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores a new value for a setting.
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::Settings::ServiceUploadResult ^> ^ PutSettingAsync(System::String ^ settingName, Microsoft::VisualStudio::Settings::ServiceUploadParameters ^ settingInfo);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.ServiceUploadResult> PutSettingAsync (string settingName, Microsoft.VisualStudio.Settings.ServiceUploadParameters settingInfo);
abstract member PutSettingAsync : string * Microsoft.VisualStudio.Settings.ServiceUploadParameters -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.ServiceUploadResult>
Public Function PutSettingAsync (settingName As String, settingInfo As ServiceUploadParameters) As Task(Of ServiceUploadResult)
Parameters
- settingName
- String
The setting name (case insensitive)
- settingInfo
- ServiceUploadParameters
The attributes of the setting to store, and the client ID
Returns
Exceptions
Thrown when this is called before InitAsync(String, Boolean, Int32, Guid, String).