IProfileService 接口

提供和存储有关用户生成的用户的配置文件信息的服务。

命名空间:  Microsoft.VisualStudio.Services.Profile
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Interface IProfileService _
    Inherits ITeamFoundationService
public interface IProfileService : ITeamFoundationService

IProfileService 类型公开以下成员。

方法

  名称 说明
公共方法 CreateProfile 创建一个配置文件并返回创建的配置文件。
公共方法 DeleteAttribute 删除命名的 atrribute 名称和配置文件属性的对象。
公共方法 Get 检索该配置文件与特定标识 ID.
公共方法 GetAcceptedTermsOfService 获取服务文章与用户相关的信息。
公共方法 GetAttribute 检索特定 atrribute 描述符和配置文件属性的对象。
公共方法 GetAttributes
公共方法 GetAvatar 检索给定配置文件的具体化。
公共方法 GetCountries Retrives 支持的国家/地区列表。
公共方法 GetCountryName Retrives 国家/地区名称特定的配置文件。
公共方法 GetDisplayName Retrives 显示名称特定的配置文件。
公共方法 GetEmailAddress Retrives 特定的配置文件的电子邮件。
公共方法 GetLatestTermsofService 获取当前服务文章。
公共方法 GetPageLocation
公共方法 GetPublicAlias Retrives 特定配置文件是公共的别名。
公共方法 GetServiceSetting
公共方法 ServiceEnd ServiceEnd 调用,当托管是它保留中的关闭时,该服务应释放所有资源。 (继承自 ITeamFoundationService。)
公共方法 ServiceStart 当服务初始化时,ServiceStart 调用。如果服务 intialized 异步它必须实现用于确定的 Service_Ready 服务时准备用户访问它。 (继承自 ITeamFoundationService。)
公共方法 SetAttribute(TeamFoundationRequestContext, Guid, ProfileAttribute) 有条件地在配置文件中设置特性。
公共方法 SetAttribute(TeamFoundationRequestContext, Guid, AttributeDescriptor, String) 在配置文件中设置特性。
公共方法 SetAttributes
公共方法 SetAvatar 将特定的配置文件的具体化。
公共方法 SetCountryName 更新国家/地区名称给定配置文件。
公共方法 SetDisplayName 更新显示名称给定配置文件。
公共方法 SetEmailAddress 更新给定配置文件的电子邮件。
公共方法 SetPublicAlias 更新给定配置文件是公共的别名。
公共方法 Update 通过改变部分地更新配置文件的内容与特定的配置文件的内容将参数 profile上。
公共方法 VerifyAndUpdatePreferredEmail 获取当前服务文章。

页首

请参阅

参考

Microsoft.VisualStudio.Services.Profile 命名空间