TeamFoundationVersionControlService.AddConflict 方法 (TeamFoundationRequestContext, String, String, ConflictType, Int32, Int32, Int32, String, String, Int32, PathLength)
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
Public Sub AddConflict ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
conflictType As ConflictType, _
itemId As Integer, _
versionFrom As Integer, _
pendingChangeId As Integer, _
sourceLocalItem As String, _
targetLocalItem As String, _
reason As Integer, _
maxClientPathLength As PathLength _
)
public void AddConflict(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
ConflictType conflictType,
int itemId,
int versionFrom,
int pendingChangeId,
string sourceLocalItem,
string targetLocalItem,
int reason,
PathLength maxClientPathLength
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- workspaceName
型別:System.String
- ownerName
型別:System.String
- conflictType
型別:Microsoft.TeamFoundation.VersionControl.Server.ConflictType
- itemId
型別:System.Int32
- versionFrom
型別:System.Int32
- pendingChangeId
型別:System.Int32
- sourceLocalItem
型別:System.String
- targetLocalItem
型別:System.String
- reason
型別:System.Int32
- maxClientPathLength
型別:Microsoft.TeamFoundation.VersionControl.Common.PathLength
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。