CommitResult Class
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.
The result of committing a settings change.
[MessagePack.MessagePackObject(false)]
public class CommitResult : IEquatable<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.CommitResult>
[<MessagePack.MessagePackObject(false)>]
type CommitResult = class
interface IEquatable<CommitResult>
Public Class CommitResult
Implements IEquatable(Of CommitResult)
- Inheritance
-
CommitResult
- Attributes
-
MessagePack.MessagePackObjectAttribute
- Implements
Constructors
CommitResult(CommitResult) | |
CommitResult(CommitResultCode, IReadOnlyCollection<ChangeResult>) |
The result of committing a settings change. |
Properties
ChangeResults |
Contains a collection of ChangeResults for each attempted change. |
EqualityContract | |
IsSuccess |
Gets a value indicating whether the commit succeeded. |
ResultCode |
The code indicating the outcome of the commit. |
Methods
<Clone>$() | |
ChangeError(IReadOnlyCollection<ChangeResult>) |
Creates a CommitResult with a ChangeError outcome. |
Deconstruct(CommitResultCode, IReadOnlyCollection<ChangeResult>) | |
Equals(CommitResult) | |
Equals(Object) | |
GetHashCode() | |
PendingApproval(IReadOnlyCollection<ChangeResult>) |
Creates a CommitResult with a PendingApproval outcome. |
PrintMembers(StringBuilder) | |
Success(IReadOnlyCollection<ChangeResult>) |
Gets a CommitResult indicating a successful commit. |
ToString() |
Operators
Equality(CommitResult, CommitResult) | |
Inequality(CommitResult, CommitResult) |