Delen via


ISettingsWriter.RequestCommit(String) Method

Definition

Requests a commit of all queued changes. This may require user approval to complete. In that case, this method will return immediately and the commit will complete later once the user has approved it. Changes will be applied in the scope selected by the user.

public Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingCommitResult RequestCommit (string changeDescription);
abstract member RequestCommit : string -> Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingCommitResult
Public Function RequestCommit (changeDescription As String) As SettingCommitResult

Parameters

changeDescription
String

A human-readable, localized description of the change. Example: "migration from a previous version".

Returns

Exceptions

Thrown if changeDescription is null.

Thrown if changeDescription is empty.

Applies to