Repository.AddConflict 方法
命名空间: Microsoft.TeamFoundation.VersionControl.Server
程序集: Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
语法
声明
<WebMethodAttribute> _
Public Sub AddConflict ( _
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 _
)
[WebMethodAttribute]
public void AddConflict(
string workspaceName,
string ownerName,
ConflictType conflictType,
int itemId,
int versionFrom,
int pendingChangeId,
string sourceLocalItem,
string targetLocalItem,
int reason
)
参数
- 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
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。