GitHttpClient.GetCommitDifferencesAsync 方法
命名空间: Microsoft.TeamFoundation.SourceControl.WebApi
程序集: Microsoft.TeamFoundation.SourceControl.WebApi(在 Microsoft.TeamFoundation.SourceControl.WebApi.dll 中)
语法
声明
Public Function GetCommitDifferencesAsync ( _
repositoryId As String, _
projectId As String, _
baseVersion As GitVersionDescriptor, _
targetVersion As GitVersionDescriptor, _
top As Nullable(Of Integer), _
skip As Nullable(Of Integer), _
userState As Object _
) As Task(Of GitCommitDiffs)
public Task<GitCommitDiffs> GetCommitDifferencesAsync(
string repositoryId,
string projectId,
GitVersionDescriptor baseVersion,
GitVersionDescriptor targetVersion,
Nullable<int> top,
Nullable<int> skip,
Object userState
)
参数
- repositoryId
类型:System.String
- projectId
类型:System.String
- targetVersion
类型:Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor
- top
类型:System.Nullable<Int32>
- skip
类型:System.Nullable<Int32>
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<GitCommitDiffs>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。