ChangeResult Constructors
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.
Overloads
| Name | Description |
|---|---|
| ChangeResult(ChangeResult) | |
| ChangeResult(ChangeResultCode, String, Boolean, String) |
The result of a setting value change. |
ChangeResult(ChangeResult)
protected ChangeResult(Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResult original);
Protected Sub New (original As ChangeResult)
Parameters
- original
- ChangeResult
Applies to
ChangeResult(ChangeResultCode, String, Boolean, String)
The result of a setting value change.
public ChangeResult(Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResultCode ResultCode, string Moniker, bool CommitWillChangeEffectiveValue, string? Message = default);
new Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResult : Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResultCode * string * bool * string -> Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResult
Public Sub New (ResultCode As ChangeResultCode, Moniker As String, CommitWillChangeEffectiveValue As Boolean, Optional Message As String = Nothing)
Parameters
- ResultCode
- ChangeResultCode
The code indicating the outcome of the change.
- Moniker
- String
The moniker of the setting.
- CommitWillChangeEffectiveValue
- Boolean
Whether committing the change will change the effective value of the setting.
- Message
- String
An optional message with additional information about the value change. Only set when IsSuccess is false.