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


BuildControllerWebService Class

Inheritance Hierarchy

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.TeamFoundation.Server.Core.WebServices.TeamFoundationWebService
        Microsoft.TeamFoundation.Build.Server.BuildWebServiceBase
          Microsoft.TeamFoundation.Build.Server.Compatibility.BuildControllerWebService

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

Syntax

'Declaration
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03",  _
    Description := "Team Foundation Build Controller web service")> _
<ClientServiceAttribute(ComponentName := "TeamBuild", RegistrationName := "Build",  _
    ServiceName := "BuildControllerService", CollectionServiceIdentifier := "36cffc58-f0d7-4b48-8e2d-6c79ab4447cb")> _
Public NotInheritable Class BuildControllerWebService _
    Inherits BuildWebServiceBase
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", 
    Description = "Team Foundation Build Controller web service")]
[ClientServiceAttribute(ComponentName = "TeamBuild", RegistrationName = "Build", 
    ServiceName = "BuildControllerService", CollectionServiceIdentifier = "36cffc58-f0d7-4b48-8e2d-6c79ab4447cb")]
public sealed class BuildControllerWebService : BuildWebServiceBase
[WebServiceAttribute(Namespace = L"https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", 
    Description = L"Team Foundation Build Controller web service")]
[ClientServiceAttribute(ComponentName = L"TeamBuild", RegistrationName = L"Build", 
    ServiceName = L"BuildControllerService", CollectionServiceIdentifier = L"36cffc58-f0d7-4b48-8e2d-6c79ab4447cb")]
public ref class BuildControllerWebService sealed : public BuildWebServiceBase
[<Sealed>]
[<WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", 
    Description = "Team Foundation Build Controller web service")>]
[<ClientServiceAttribute(ComponentName = "TeamBuild", RegistrationName = "Build", 
    ServiceName = "BuildControllerService", CollectionServiceIdentifier = "36cffc58-f0d7-4b48-8e2d-6c79ab4447cb")>]
type BuildControllerWebService =  
    class 
        inherit BuildWebServiceBase 
    end
public final class BuildControllerWebService extends BuildWebServiceBase

The BuildControllerWebService type exposes the following members.

Constructors

  Name Description
Public method BuildControllerWebService

Top

Properties

  Name Description
Public property Application Gets the application object for the current HTTP request. (Inherited from WebService.)
Public property Container Gets the container for the component. (Inherited from MarshalByValueComponent.)
Public property Context Gets the ASP.NET HttpContext for the current request, which encapsulates all HTTP-specific context used by the HTTP server to process Web requests. (Inherited from WebService.)
Public property DesignMode Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.)
Public property Server Gets the HttpServerUtility for the current request. (Inherited from WebService.)
Public property Session Gets the HttpSessionState instance for the current request. (Inherited from WebService.)
Public property Site Gets or sets the site of the component. (Inherited from MarshalByValueComponent.)
Public property SoapVersion Gets the version of the SOAP protocol used to make the SOAP request to the XML Web service. (Inherited from WebService.)
Public property User Gets the ASP.NET server User object. Can be used to authenticate whether a user is authorized to execute the request. (Inherited from WebService.)

Top

Methods

  Name Description
Public method BuildCompleted Called to raise the buildcompleted event
Public method DeleteBuild Called to delete a given build. The failureMessage parameter contains the error/warning that might occur when you perform this operation. If the Boolean returned is false, failureMessage contains the error. If the Boolean returned is true, failureMessage contains the warning.
Public method Dispose Releases all resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.)
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 GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertBuildQuality Inserts the build quality in the given teamproject parameter.
Public method RemoveBuildQuality Removes the given buildquality in the given team project.
Public method RemoveRun Delete the test data from the database.
Public method ReportBuildError This method should be called to report that the build failed when MSBuild exits with a non-zero exitCode on the build machine.
Public method StartBuild This method is called to start a build.
Public method StopBuild Called to stop a given build. The failureMessage parameter contains the error that occurs when the build is stopped.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.)
Public method ValidateBuildStart

Top

Events

  Name Description
Public event Disposed Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.)

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.Compatibility Namespace