ProfileHttpClientBase 类

继承层次结构

System.Object
  Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase
    Microsoft.VisualStudio.Services.Profile.Client.ProfileHttpClientBase
      Microsoft.VisualStudio.Services.Profile.Client.ProfileHttpClient
      Microsoft.VisualStudio.Services.Profile.FrameworkProfileHttpClient

命名空间:  Microsoft.VisualStudio.Services.Profile.Client
程序集:  Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)

语法

声明
<ServiceOwnerAttribute("951917AC-A960-4999-8464-E3F0AA25B381", "00000001-0000-8888-8000-000000000000")> _
Public MustInherit Class ProfileHttpClientBase _
    Inherits VssHttpClientBase
[ServiceOwnerAttribute("951917AC-A960-4999-8464-E3F0AA25B381", "00000001-0000-8888-8000-000000000000")]
public abstract class ProfileHttpClientBase : VssHttpClientBase

ProfileHttpClientBase 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 ProfileHttpClientBase(Uri, VssCredentials)
公共方法 ProfileHttpClientBase(Uri, VssCredentials, VssHttpRequestSettings)
公共方法 ProfileHttpClientBase(Uri, VssCredentials, array<DelegatingHandler[])
公共方法 ProfileHttpClientBase(Uri, VssCredentials, VssHttpRequestSettings, array<DelegatingHandler[])

页首

属性

  名称 说明
公共属性 Client (继承自 VssHttpClientBase。)
公共属性 DefaultRequestHeaders (继承自 VssHttpClientBase。)
受保护的属性 Formatter (继承自 VssHttpClientBase。)
公共属性 LastResponseContext (继承自 VssHttpClientBase。)
公共属性 MaxResponseContentBufferSize (继承自 VssHttpClientBase。)
公共属性 Timeout (继承自 VssHttpClientBase。)
受保护的属性 TranslatedExceptions (重写 VssHttpClientBase.TranslatedExceptions。)

页首

方法

  名称 说明
受保护的方法 CreateProfileAsync
受保护的方法 CreateRequestMessage (继承自 VssHttpClientBase。)
受保护的方法 CreateRequestMessageAsync (继承自 VssHttpClientBase。)
受保护的方法 DeleteAsync (继承自 VssHttpClientBase。)
受保护的方法 DeleteAttributeAsync
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
受保护的方法 GetAcceptedTermsOfServiceAsync
受保护的方法 GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) (继承自 VssHttpClientBase。)
受保护的方法 GetAttributeAsync
受保护的方法 GetAttributesAsync
受保护的方法 GetAvatarAsync(Avatar, String, Object)
受保护的方法 GetAvatarAsync(AvatarSize, String, Object)
受保护的方法 GetCountriesAsync
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
受保护的方法 GetLatestTermsofServiceAsync
受保护的方法 GetProfileAsync
受保护的方法 GetProfileLocationsAsync
受保护的方法 GetPropertyAsync
受保护的方法 GetResourceLocationAsync (继承自 VssHttpClientBase。)
受保护的方法 GetServiceSettingAsync
公共方法 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。)
受保护的方法 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。)
受保护的方法 SetAttributeAsync
受保护的方法 SetAttributesAsync
受保护的方法 SetAvatarAsync
受保护的方法 SetPropertyAsync
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
受保护的方法 UpdateProfileAsync
受保护的方法 VerifyAndUpdatePreferredEmailAsync

页首

字段

  名称 说明
受保护的字段静态成员 previewApiVersion

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.Services.Profile.Client 命名空间