Share via


CommitResult.Success(IReadOnlyCollection<ChangeResult>) Method

Definition

Gets a CommitResult indicating a successful commit.

public static Microsoft.VisualStudio.RpcContracts.UnifiedSettings.CommitResult Success (System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResult> changeResults);
static member Success : System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ChangeResult> -> Microsoft.VisualStudio.RpcContracts.UnifiedSettings.CommitResult
Public Shared Function Success (changeResults As IReadOnlyCollection(Of ChangeResult)) As CommitResult

Parameters

changeResults
IReadOnlyCollection<ChangeResult>

The results of each attempted change made.

Returns

A new instance of CommitResult with a success result code.

Applies to