다음을 통해 공유


TeamFoundationBuildResourceService Class

Provides methods for manipulating build agents, build controllers, and build service hosts.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildResourceService

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

Syntax

'Declaration
Public NotInheritable Class TeamFoundationBuildResourceService _
    Implements ITeamFoundationService
public sealed class TeamFoundationBuildResourceService : ITeamFoundationService
public ref class TeamFoundationBuildResourceService sealed : ITeamFoundationService
[<Sealed>]
type TeamFoundationBuildResourceService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationBuildResourceService implements ITeamFoundationService

The TeamFoundationBuildResourceService type exposes the following members.

Methods

  Name Description
Public method AddBuildAgents Adds build agents to the server. Notifications are asynchronously sent to the physical service host regarding the addition of any build agents.
Public method AddBuildControllers Adds build controllers to the server. Notifications are asynchronously sent to the physical service host regarding the addition of any build controllers.
Public method AddBuildServiceHost Adds a build service host to the server.
Public method DeleteBuildAgents Deletes build agents from the server. Notifications are asynchronously sent to the physical service host regarding the deletion of any build agents.
Public method DeleteBuildControllers Deletes build controllers from the server. Notifications are asynchronously sent to the physical service host regarding the deletion of any build controllers.
Public method DeleteBuildServiceHost Deletes a build service host from the server.
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 QueryBuildAgents
Public method QueryBuildAgentsByUri
Public method QueryBuildControllers(TeamFoundationRequestContext, BuildControllerSpec) Queries for build controllers by controller specification.
Public method QueryBuildControllers(TeamFoundationRequestContext, IList<BuildControllerSpec>)
Public method QueryBuildControllersByUri
Public method QueryBuildServiceHosts Queries for build service hosts by name.
Public method QueryBuildServiceHostsByUri Queries for build service hosts by URI.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateBuildAgents Updates a list of build agents. Notifications are asynchronously sent to the physical service host regarding the modification of any build agents, and a BIS event is fired if the status of the agent changes.
Public method UpdateBuildControllers Updates a list of build controllers. Notifications are asynchronously sent to the physical service host regarding the modification of any build controllers, and a BIS event is fired if the status of the controller changes.
Public method UpdateBuildServiceHost Updates a build service host.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Initializes the service together with all of the necessary state.

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.Build.Server Namespace