Share via


CommitResult Class

Definition

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)

Applies to