次の方法で共有


ISettingsService.PutSettingAsync(String, ServiceUploadParameters) Method

Definition

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

Applies to