Поделиться через


TeamFoundationProfileService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationProfileService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(IdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
Public Class TeamFoundationProfileService _
    Implements ITeamFoundationProfileService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(IdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public class TeamFoundationProfileService : ITeamFoundationProfileService, 
    ITeamFoundationService
[TeamFoundationServiceDependency(typeof(IdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public ref class TeamFoundationProfileService : ITeamFoundationProfileService, 
    ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(IdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
type TeamFoundationProfileService =  
    class 
        interface ITeamFoundationProfileService 
        interface ITeamFoundationService 
    end
public class TeamFoundationProfileService implements ITeamFoundationProfileService, ITeamFoundationService

The TeamFoundationProfileService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationProfileService

Top

Methods

  Name Description
Public method AddUserInstalledLanguages Add user installed Languages
Public methodStatic member BuildTemporaryDescriptorFromEmailAddress
Public methodStatic member BuildTemporaryIdentityFromEmailAddress(String)
Public methodStatic member BuildTemporaryIdentityFromEmailAddress(String, String) Build a bind pending identity with the passed in e-mail address
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 GetAccountCulture Get account culture preference
Public method GetAccountLanguage Get account language preference
Public method GetAccountPreferences Get account preferences of current service host
Public method GetAccountTimeZone Get account timezone preference
Public method GetAllInstalledLanguages Get all installed languages. These include built-in TFS languages and user-installed languages.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetInstalledLanguages Get a set of installed languages
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUserCulture Get current user's culture preference
Public method GetUserInstalledLanguages Get user installed languages
Public method GetUserLanguage Get current user's language preference
Public method GetUserPreferences Get current user's preferences
Public method GetUserTimeZone Get current user's timezone preference
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResolveIdentity
Public methodStatic member RetrieveEmailAddressFromTemporaryDescriptor
Public method SetAccountTimeZone Sets the account time zone
Public method SetUserCulture Set current user's culture preference
Public method SetUserLanguage Set current user's language preference
Public method SetUserPreferences Set current user's preferences. If property of passed in user preferences is null/empty, that property will not be updated
Public method SetUserTimeZone Set current user's timezone preference
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Validate Validate account/user preferences

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

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.TeamFoundation.Framework.Server Namespace