GitHttpClient.GetTreeAsync 方法
命名空間: Microsoft.TeamFoundation.Git.Client
組件: Microsoft.TeamFoundation.Git.Client (在 Microsoft.TeamFoundation.Git.Client.dll 中)
語法
'宣告
Public Function GetTreeAsync ( _
repositoryId As Guid, _
sha1 As String, _
recursive As Boolean, _
userState As Object _
) As Task(Of GitTreeRef)
public Task<GitTreeRef> GetTreeAsync(
Guid repositoryId,
string sha1,
bool recursive,
Object userState
)
參數
- repositoryId
型別:System.Guid
- sha1
型別:System.String
- recursive
型別:System.Boolean
- userState
型別:System.Object
傳回值
型別:System.Threading.Tasks.Task<GitTreeRef>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。