CommitResult.Success(IReadOnlyCollection<ChangeResult>) Method
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.
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.