Delen via


ISettingsWriter.Commit(String) Method

Definition

Caution

This method will be removed. Use RequestCommit instead.

This method is deprecated. Use RequestCommit(String) instead. Commits 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.

[System.Obsolete("This method will be removed. Use RequestCommit instead.")]
public Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingCommitResult Commit (string changeDescription);
[<System.Obsolete("This method will be removed. Use RequestCommit instead.")>]
abstract member Commit : string -> Microsoft.VisualStudio.Utilities.UnifiedSettings.SettingCommitResult
Public Function Commit (changeDescription As String) As SettingCommitResult

Parameters

changeDescription
String

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

Returns

Attributes

Exceptions

Thrown if changeDescription is null.

Thrown if changeDescription is empty.

Applies to