共用方式為


FrameworkProfileHttpClient Class

Inheritance Hierarchy

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

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Class FrameworkProfileHttpClient _
    Inherits ProfileHttpClientBase
public class FrameworkProfileHttpClient : ProfileHttpClientBase
public ref class FrameworkProfileHttpClient : public ProfileHttpClientBase
type FrameworkProfileHttpClient =  
    class 
        inherit ProfileHttpClientBase 
    end
public class FrameworkProfileHttpClient extends ProfileHttpClientBase

The FrameworkProfileHttpClient type exposes the following members.

Constructors

  Name Description
Public method FrameworkProfileHttpClient(Uri, VssCredentials)
Public method FrameworkProfileHttpClient(Uri, VssCredentials, array<DelegatingHandler[])

Top

Properties

  Name Description
Public property Client (Inherited from VssHttpClientBase.)
Public property DefaultRequestHeaders (Inherited from VssHttpClientBase.)
Protected property Formatter (Inherited from VssHttpClientBase.)
Public property LastResponseContext (Inherited from VssHttpClientBase.)
Public property MaxResponseContentBufferSize (Inherited from VssHttpClientBase.)
Public property Timeout (Inherited from VssHttpClientBase.)
Protected property TranslatedExceptions (Inherited from ProfileHttpClientBase.)

Top

Methods

  Name Description
Public method CreateProfileAsync
Protected method CreateRequestMessage (Inherited from VssHttpClientBase.)
Protected method CreateRequestMessageAsync (Inherited from VssHttpClientBase.)
Protected method DeleteAsync (Inherited from VssHttpClientBase.)
Public method DeleteAttributeAsync(Guid, ProfileAttribute, Object)
Protected method DeleteAttributeAsync(ProfileAttribute, String, Object) (Inherited from ProfileHttpClientBase.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAcceptedTermsOfServiceAsync(Guid, Object)
Protected method GetAcceptedTermsOfServiceAsync(Object, String) (Inherited from ProfileHttpClientBase.)
Protected method GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Public method GetAttributeAsync(Guid, AttributeDescriptor, Object)
Protected method GetAttributeAsync(AttributeDescriptor, String, Object) (Inherited from ProfileHttpClientBase.)
Public method GetAttributesAsync(Guid, AttributesQueryContext, Object)
Protected method GetAttributesAsync(AttributesQueryContext, String, Object) (Inherited from ProfileHttpClientBase.)
Public method GetAvatarAsync(Guid, Avatar, Object)
Public method GetAvatarAsync(Guid, AvatarSize, Object)
Protected method GetAvatarAsync(Avatar, String, Object) (Inherited from ProfileHttpClientBase.)
Protected method GetAvatarAsync(AvatarSize, String, Object) (Inherited from ProfileHttpClientBase.)
Public method GetCountriesAsync
Public method GetCountryNameAsync
Public method GetDisplayNameAsync
Public method GetEmailAddressAsync
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLatestTermsofServiceAsync
Public method GetProfileAsync(Guid, ProfileQueryContext, Object)
Protected method GetProfileAsync(ProfileQueryContext, String, Object) (Inherited from ProfileHttpClientBase.)
Public method GetProfileLocationsAsync
Protected method GetPropertyAsync (Inherited from ProfileHttpClientBase.)
Public method GetPublicAliasAsync
Protected method GetResourceLocationAsync (Inherited from VssHttpClientBase.)
Public method GetServiceSettingAsync
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HandleResponse (Inherited from VssHttpClientBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NegotiateRequestVersion (Inherited from VssHttpClientBase.)
Protected method NegotiateRequestVersionAsync (Inherited from VssHttpClientBase.)
Protected method PatchAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PatchAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PatchAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PostAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PostAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PutAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PutAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method Send(HttpRequestMessage, Object) (Inherited from VssHttpClientBase.)
Protected method Send(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method SendAsync(HttpRequestMessage, HttpCompletionOption, Object, CancellationToken) (Inherited from VssHttpClientBase.)
Protected method SendAsync<T>(HttpRequestMessage, Object, CancellationToken) (Inherited from VssHttpClientBase.)
Protected method SendAsync<T>(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Public method SetAttributeAsync(Guid, ProfileAttribute, Object)
Protected method SetAttributeAsync(ProfileAttribute, String, Object) (Inherited from ProfileHttpClientBase.)
Public method SetAttributesAsync(Guid, IList<ProfileAttribute>, IList<CoreProfileAttribute>, Object)
Protected method SetAttributesAsync(IList<ProfileAttribute>, IList<CoreProfileAttribute>, String, Object) (Inherited from ProfileHttpClientBase.)
Public method SetAvatarAsync(Guid, Avatar, Object)
Protected method SetAvatarAsync(Avatar, String, Object) (Inherited from ProfileHttpClientBase.)
Public method SetCountryNameAsync
Public method SetDisplayNameAsync
Public method SetEmailAddressAsync
Protected method SetPropertyAsync (Inherited from ProfileHttpClientBase.)
Public method SetPublicAliasAsync
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnconditionalSetAttributeAsync
Public method UpdateProfileAsync(Guid, Profile, Object)
Protected method UpdateProfileAsync(Profile, String, Object) (Inherited from ProfileHttpClientBase.)
Public method VerifyAndUpdatePreferredEmailAsync

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Profile Namespace