TokenHttpClient 類別
本文內容
繼承階層
System.Object
Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase
Microsoft.VisualStudio.Services.WebApi.HttpClients.TokenHttpClient
命名空間: Microsoft.VisualStudio.Services.WebApi.HttpClients
組件: Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)
語法
'宣告
<ResourceAreaAttribute("0AD75E84-88AE-4325-84B5-EBB30910283C", "951917AC-A960-4999-8464-E3F0AA25B381")> _
Public Class TokenHttpClient _
Inherits VssHttpClientBase
[ResourceAreaAttribute("0AD75E84-88AE-4325-84B5-EBB30910283C", "951917AC-A960-4999-8464-E3F0AA25B381")]
public class TokenHttpClient : VssHttpClientBase
TokenHttpClient 類型會公開下列成員。
建構函式
TokenHttpClient(Uri, VssCredentials)
TokenHttpClient(Uri, VssCredentials, VssHttpRequestSettings)
TokenHttpClient(Uri, VssCredentials, array<DelegatingHandler[])
TokenHttpClient(Uri, HttpMessageHandler, Boolean)
TokenHttpClient(Uri, VssCredentials, VssHttpRequestSettings, array<DelegatingHandler[])
回頁首
屬性
回頁首
方法
AddModelAsQueryParams
(繼承自 VssHttpClientBase )。
CreateRequestMessage
(繼承自 VssHttpClientBase )。
CreateRequestMessageAsync
(繼承自 VssHttpClientBase )。
DeleteAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
DeleteAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
Equals
判斷指定的物件是否等於目前的物件。 (繼承自 Object )。
Finalize
在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object )。
GetAadAppAccessToken
GetAadUserAccessToken
GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
GetHashCode
做為預設雜湊函式。 (繼承自 Object )。
GetResourceLocationAsync(Guid, Object)
(繼承自 VssHttpClientBase )。
GetResourceLocationAsync(Guid, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
GetType
取得目前執行個體的 Type 。 (繼承自 Object )。
HandleResponse
(繼承自 VssHttpClientBase )。
MemberwiseClone
建立目前 Object 的淺層複製。 (繼承自 Object )。
NegotiateRequestVersion
(繼承自 VssHttpClientBase )。
NegotiateRequestVersionAsync
(繼承自 VssHttpClientBase )。
PatchAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PatchAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PatchAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PatchAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PatchAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PatchAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PostAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PostAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PostAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PostAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PutAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PutAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
PutAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)
(繼承自 VssHttpClientBase )。
PutAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object, CancellationToken)
(繼承自 VssHttpClientBase )。
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, CancellationToken)
(繼承自 VssHttpClientBase )。
SetResourceLocations
(繼承自 VssHttpClientBase )。
ToString
傳回代表目前物件的字串。 (繼承自 Object )。
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.Services.WebApi.HttpClients 命名空間