GitHttpClient.GetItemsAsync 方法
命名空間: Microsoft.TeamFoundation.Git.Client
組件: Microsoft.TeamFoundation.Git.Client (在 Microsoft.TeamFoundation.Git.Client.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
- version
型別:GitVersionDescriptor
- recursionLevel
型別:VersionControlRecursionType
- includeContentMetadata
型別:System.Boolean
- includeLatestChange
型別:System.Boolean
- userState
型別:System.Object
傳回值
型別:System.Threading.Tasks.Task<GitItemsCollection>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。