Delen via


RepositoryExtensions.Resolve Method

Resolves a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function Resolve ( _
    workspaceName As String, _
    ownerName As String, _
    conflictId As Integer, _
    resolution As Resolution, _
    newPath As String, _
    encoding As Integer, _
    lockLevel As LockLevel, _
    <OutAttribute> ByRef undoOperations As StreamingCollection(Of GetOperation), _
    <OutAttribute> ByRef resolvedConflicts As StreamingCollection(Of Conflict), _
    propertyNameFilters As String(), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Resolve(
    string workspaceName,
    string ownerName,
    int conflictId,
    Resolution resolution,
    string newPath,
    int encoding,
    LockLevel lockLevel,
    out StreamingCollection<GetOperation> undoOperations,
    out StreamingCollection<Conflict> resolvedConflicts,
    string[] propertyNameFilters,
    out int changePendedFlags
)
[WebMethodAttribute]
public:
StreamingCollection<GetOperation^>^ Resolve(
    String^ workspaceName, 
    String^ ownerName, 
    int conflictId, 
    Resolution resolution, 
    String^ newPath, 
    int encoding, 
    LockLevel lockLevel, 
    [OutAttribute] StreamingCollection<GetOperation^>^% undoOperations, 
    [OutAttribute] StreamingCollection<Conflict^>^% resolvedConflicts, 
    array<String^>^ propertyNameFilters, 
    [OutAttribute] int% changePendedFlags
)
[<WebMethodAttribute>]
member Resolve : 
        workspaceName:string * 
        ownerName:string * 
        conflictId:int * 
        resolution:Resolution * 
        newPath:string * 
        encoding:int * 
        lockLevel:LockLevel * 
        undoOperations:StreamingCollection<GetOperation> byref * 
        resolvedConflicts:StreamingCollection<Conflict> byref * 
        propertyNameFilters:string[] * 
        changePendedFlags:int byref -> StreamingCollection<GetOperation> 
public function Resolve(
    workspaceName : String, 
    ownerName : String, 
    conflictId : int, 
    resolution : Resolution, 
    newPath : String, 
    encoding : int, 
    lockLevel : LockLevel, 
    undoOperations : StreamingCollection<GetOperation>, 
    resolvedConflicts : StreamingCollection<Conflict>, 
    propertyNameFilters : String[], 
    changePendedFlags : int
) : StreamingCollection<GetOperation>

Parameters

  • newPath
    Type: System.String

    A new name for the conflicted item.

  • propertyNameFilters
    Type: array<System.String[]

    List of properties to return with get operations.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
A set of GetOperations that must be processed.

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace