GitHttpClient 类
继承层次结构
System.Object
Microsoft.VisualStudio.Services.Common.VssHttpClientBase
Microsoft.TeamFoundation.Git.Client.GitHttpClient
命名空间: Microsoft.TeamFoundation.Git.Client
程序集: Microsoft.TeamFoundation.Git.Client(在 Microsoft.TeamFoundation.Git.Client.dll 中)
语法
声明
Public Class GitHttpClient _
Inherits VssHttpClientBase
public class GitHttpClient : VssHttpClientBase
GitHttpClient 类型公开以下成员。
构造函数
页首
属性
页首
方法
|
CreateRepositoryAsync |
创建一 git 存储库 |
|
CreateRequestMessage |
(继承自 VssHttpClientBase。) |
|
CreateRequestMessageAsync |
(继承自 VssHttpClientBase。) |
|
DeleteAsync |
(继承自 VssHttpClientBase。) |
|
DeleteRepositoryAsync |
删除存储库 |
|
Equals |
确定指定的对象是否等于当前对象。 (继承自 Object。) |
|
Finalize |
允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
|
GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
GetBlobAsync |
|
|
GetBlobContentAsync |
|
|
GetBlobZipAsync |
|
|
GetBranchesStatisticsAsync |
获取有关所有分支的分支统计信息。 |
|
GetBranchRefsAsync |
获取是特定 git 储存库的分支的 refs |
|
GetBranchStatisticsAsync |
获取有关特定分支的分支统计信息。 |
|
GetCommitDifferencesAsync |
在提交的项目中获取的差异在两个之间进行。 |
|
GetHashCode |
作为默认哈希函数。 (继承自 Object。) |
|
GetItemsAsync |
|
|
GetItemsBatchAsync |
立即请求一个或多个项目 |
|
GetProjectRepositoriesAsync |
特定项目的访问存储库 |
|
GetRefsAsync |
获取特定 git 储存库的 refs |
|
GetRepositoriesAsync |
获取所有存储库 |
|
GetRepositoryAsync |
获取 ID 中的存储库 |
|
GetResourceLocationAsync |
(继承自 VssHttpClientBase。) |
|
GetTagRefsAsync |
获取是特定 git 储存库的标记的 refs |
|
GetTreeAsync |
|
|
GetTreeZipAsync |
|
|
GetType |
获取当前实例的 Type。 (继承自 Object。) |
|
HandleResponse |
(继承自 VssHttpClientBase。) |
|
MemberwiseClone |
创建当前 Object 的浅表副本。 (继承自 Object。) |
|
NegotiateRequestVersion |
(继承自 VssHttpClientBase。) |
|
NegotiateRequestVersionAsync |
(继承自 VssHttpClientBase。) |
|
PatchAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PatchAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PatchAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PostAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PostAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PutAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
PutAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
RenameRepositoryAsync |
向存储库重命名。仅对名称进行观察。如果其他属性,通过服务器以确保它们匹配。 |
|
Send(HttpRequestMessage, Object) |
(继承自 VssHttpClientBase。) |
|
Send(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
SendAsync(HttpRequestMessage, HttpCompletionOption, Object, CancellationToken) |
(继承自 VssHttpClientBase。) |
|
SendAsync<T>(HttpRequestMessage, Object, CancellationToken) |
(继承自 VssHttpClientBase。) |
|
SendAsync<T>(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) |
(继承自 VssHttpClientBase。) |
|
ToString |
返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.TeamFoundation.Git.Client 命名空间