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


TeamFoundationRegistryService Class

This service is used to read and write key/value pairs to a hierarchical registry.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationBaseRegistryService
    Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
Public NotInheritable Class TeamFoundationRegistryService _
    Inherits TeamFoundationBaseRegistryService _
    Implements ITeamFoundationRegistryService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public sealed class TeamFoundationRegistryService : TeamFoundationBaseRegistryService, 
    ITeamFoundationRegistryService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public ref class TeamFoundationRegistryService sealed : public TeamFoundationBaseRegistryService, 
    ITeamFoundationRegistryService, ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
type TeamFoundationRegistryService =  
    class 
        inherit TeamFoundationBaseRegistryService 
        interface ITeamFoundationRegistryService 
        interface ITeamFoundationService 
    end
public final class TeamFoundationRegistryService extends TeamFoundationBaseRegistryService implements ITeamFoundationRegistryService, ITeamFoundationService

The TeamFoundationRegistryService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationRegistryService

Top

Methods

  Name Description
Public method DeleteEntries(TeamFoundationRequestContext, array<String[]) (Inherited from TeamFoundationBaseRegistryService.)
Public method DeleteEntries(TeamFoundationRequestContext, Identity, array<String[]) (Inherited from TeamFoundationBaseRegistryService.)
Public method DeleteEntries(TeamFoundationRequestContext, Guid, array<String[]) (Inherited from TeamFoundationBaseRegistryService.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue(TeamFoundationRequestContext, String) Retrieves the value for the specified path. (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue(TeamFoundationRequestContext, Identity, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue(TeamFoundationRequestContext, Guid, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue(TeamFoundationRequestContext, String, Boolean, String) GetValue will return the value for the specified path as a string. (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue(TeamFoundationRequestContext, Identity, String, Boolean, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue(TeamFoundationRequestContext, Guid, String, Boolean, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, String, T) Retrieves the value for the specified path, converted to the type specified by T. (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, Identity, String, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, Guid, String, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, String, Boolean, T) GetValue<T>() will retrieve the value for the specified path. It will then be converted to the type specified by T. (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, Identity, String, Boolean, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method GetValue<T>(TeamFoundationRequestContext, Guid, String, Boolean, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method QueryAuditLog QueryAuditLog is used to read the changes that have occurred to the registry. (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, Identity, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, Guid, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, String, Boolean) Special segment patterns: "/.../" and "/**/" match zero or more segments in a path. "/*/" matches zero or one segments in a path. Segments that contain "...", "*" in addition to other characters (e.g. "/f...b/", "/......./") are either invalid or literal. Other patterns: a segment that includes "*" and other characters can be used to match one segment in a path. e.g. "/f*/" would match "/folder/" but not "/afolder/". Currently only the special segments patterns are supported, and they can only be the last segment. (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, Identity, String, Boolean) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntries(TeamFoundationRequestContext, Guid, String, Boolean) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntriesFallThru(TeamFoundationRequestContext, String) ReadEntries is used to read multiple registry values in a single call Values from the fall through registry are included where they do not occur in this registry. (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntriesFallThru(TeamFoundationRequestContext, Identity, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method ReadEntriesFallThru(TeamFoundationRequestContext, Guid, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method RegisterNotification(TeamFoundationRequestContext, RegistrySettingsChangedCallback, array<String[]) Register a callback method which will be invoked whenever registry paths matching the given filters has changed
Public method RegisterNotification(TeamFoundationRequestContext, RegistrySettingsChangedCallback, Boolean, array<String[]) Register a callback method which will be invoked whenever registry paths matching the given filters has changed
Public method ServiceEnd Implementation of ITeamFoundationService.ServiceEnd (Overrides TeamFoundationBaseRegistryService.ServiceEnd(TeamFoundationRequestContext).)
Public method ServiceStart Implementation of ITeamFoundationService.ServiceStart (Overrides TeamFoundationBaseRegistryService.ServiceStart(TeamFoundationRequestContext).)
Public method SetValue(TeamFoundationRequestContext, String, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method SetValue(TeamFoundationRequestContext, Identity, String, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method SetValue(TeamFoundationRequestContext, Guid, String, String) (Inherited from TeamFoundationBaseRegistryService.)
Public method SetValue<T>(TeamFoundationRequestContext, String, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method SetValue<T>(TeamFoundationRequestContext, Identity, String, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method SetValue<T>(TeamFoundationRequestContext, Guid, String, T) (Inherited from TeamFoundationBaseRegistryService.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnregisterNotification(TeamFoundationRequestContext, RegistrySettingsChangedCallback) Unregisters the given callback to stop receiving notifications
Public method UnregisterNotification(TeamFoundationRequestContext, RegistrySettingsChangedCallback, Boolean) Unregisters the given callback to stop receiving notifications
Public method WriteEntries(TeamFoundationRequestContext, IEnumerable<RegistryEntry>) (Inherited from TeamFoundationBaseRegistryService.)
Public method WriteEntries(TeamFoundationRequestContext, Identity, IEnumerable<RegistryEntry>) (Inherited from TeamFoundationBaseRegistryService.)
Public method WriteEntries(TeamFoundationRequestContext, Guid, IEnumerable<RegistryEntry>) (Inherited from TeamFoundationBaseRegistryService.)
Protected method WriteEntriesInternal WriteEntries is used to update a set of registry entries all at the same time. All updates to the registry are transacted. This means either all or none of the updates are committed. (Inherited from TeamFoundationBaseRegistryService.)

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