Share via


IBuildMachine Interface

Service contract for interacting with a build server from a remote process.

Namespace:  Microsoft.TeamFoundation.Build.Hosting
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

Syntax

'Declaration
<ServiceContractAttribute(CallbackContract := GetType(IBuildMachineEvents), Namespace := "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting",  _
    SessionMode := SessionMode.Required)> _
Public Interface IBuildMachine
[ServiceContractAttribute(CallbackContract = typeof(IBuildMachineEvents), Namespace = "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting", 
    SessionMode = SessionMode.Required)]
public interface IBuildMachine
[ServiceContractAttribute(CallbackContract = typeof(IBuildMachineEvents), Namespace = L"https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting", 
    SessionMode = SessionMode::Required)]
public interface class IBuildMachine
[<ServiceContractAttribute(CallbackContract = typeof(IBuildMachineEvents), Namespace = "https://schemas.microsoft.com/TeamFoundation/2010/Build/Hosting", 
    SessionMode = SessionMode.Required)>]
type IBuildMachine =  interface end
public interface IBuildMachine

The IBuildMachine type exposes the following members.

Methods

  Name Description
Public method BeginConnect Begins an asynchronous operation to connect to a remote build server.
Public method BeginGetState Begins an asynchronous operation to retrieve the state of a remote build server.
Public method BeginRecycleProcess Begins an asynchronous operation to recycle a process hosted by the build server.
Public method BeginStart Begins an asynchronous operation to start the build server.
Public method EndConnect Ends an asynchronous operation to connect to a remote build server.
Public method EndGetState Ends an asynchronous operation to connect to a remote build server.
Public method EndRecycleProcess Ends an asynchronous operation to recycle a process hosted by the build server.
Public method EndStart Ends an asynchronous operation to start the build server.
Public method Stop Stops the build server using the specified reason when stopping active builds.
Public method Unsubscribe Unsubscribes the current listener and ends the session.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Hosting Namespace