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