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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。