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


BuildStoreWebService 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.BuildStoreWebService

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

Syntax

'Declaration
<ClientServiceAttribute(ComponentName := "TeamBuild", RegistrationName := "Build",  _
    ServiceName := "BuildStoreService", CollectionServiceIdentifier := "c13c2a8e-4a9f-4fd4-8225-6e40cc733787")> _
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildInfo/03",  _
    Description := "Team Foundation Build Info web service")> _
Public NotInheritable Class BuildStoreWebService _
    Inherits BuildWebServiceBase
[ClientServiceAttribute(ComponentName = "TeamBuild", RegistrationName = "Build", 
    ServiceName = "BuildStoreService", CollectionServiceIdentifier = "c13c2a8e-4a9f-4fd4-8225-6e40cc733787")]
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildInfo/03", 
    Description = "Team Foundation Build Info web service")]
public sealed class BuildStoreWebService : BuildWebServiceBase
[ClientServiceAttribute(ComponentName = L"TeamBuild", RegistrationName = L"Build", 
    ServiceName = L"BuildStoreService", CollectionServiceIdentifier = L"c13c2a8e-4a9f-4fd4-8225-6e40cc733787")]
[WebServiceAttribute(Namespace = L"https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildInfo/03", 
    Description = L"Team Foundation Build Info web service")]
public ref class BuildStoreWebService sealed : public BuildWebServiceBase
[<Sealed>]
[<ClientServiceAttribute(ComponentName = "TeamBuild", RegistrationName = "Build", 
    ServiceName = "BuildStoreService", CollectionServiceIdentifier = "c13c2a8e-4a9f-4fd4-8225-6e40cc733787")>]
[<WebServiceAttribute(Namespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildInfo/03", 
    Description = "Team Foundation Build Info web service")>]
type BuildStoreWebService =  
    class 
        inherit BuildWebServiceBase 
    end
public final class BuildStoreWebService extends BuildWebServiceBase

The BuildStoreWebService type exposes the following members.

Constructors

  Name Description
Public method BuildStoreWebService

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 AddBuild This is the webmethod that writes data into the Builds table.
Public method AddBuildStep This is the webmethod that writes data into the BuildSteps table.
Public method AddChangeSetsForBuild This is the webmethod that writes data into the ChangeSets table.
Public method AddOpenedWorkItemsForBuild This is the webmethod that writes data into the OpenedBugs table. Required parameters in each of the WorkItemData objects are WorkItemId,and WorkItemUri title.
Public method AddPlatformFlavorLogForBuild Returns the compilation details for the given build for the given platform or flavor.
Public method AddProjectDetailsForBuild This is the webmethod that writes data into the ProjectDetails table.
Public method AddWorkItemsForBuild This is the webmethod that writes data into the WorkItems table.
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 GetBuildDetails Returns all the build configuration information stored in the opstore.
Public method GetBuildQualities Returns all the build qualities stored in the opstore.
Public method GetBuildSteps Returns the build steps for the given build.
Public method GetBuildUri Returns the build URI for the given team project and build number.
Public method GetChangeSetsForBuild Returns all the changesets associated with a build.
Public method GetCodeCoverageForBuild Returns code coverage for the build corresponding to given platform/flavor.
Public method GetCodeCoverageStatusForBuild Returns code coverage status for the build corresponding to given platform/flavor. This status includes data about the coverage merge in progress and the error log file.
Public method GetCompilationSummaryForBuild Returns the compilation details for the given build for the given platform/flavor.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetListOfBuilds The buildType parameter is optional here. If buildtype is null/empty the complete list of builds in the given teamProject is returned; otherwise, the builds would be filtered based on the given buildtype.
Public method GetOpenedWorkItemsForBuild Returns all the opened work items for the build.
Public method GetPlatformFlavorsForBuild Returns all the platform/flavors built for a given build URI.
Public method GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method GetTestResultsForBuild Returns all the test results for the build corresponding to the given platform/flavor.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkItemsForBuild Returns all the associated work items for the build.
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 UpdateBuildFinishTime This is the webmethod that updates the entry FinishTime in the Builds table.
Public method UpdateBuildFlag This is the webmethod that updates the bit entry GoodBuildFlag in the Builds table.
Public method UpdateBuildLogLocation This is the webmethod that updates the entry LogLocation in the Builds table.
Public method UpdateBuildNumberAndDropLocation This is the webmethod that updates the build number and the drop location for the given build.
Public method UpdateBuildQuality Updates the build quality for the given build in the opstore. This also adds the build quality to the list maintained for build qualities if it is not already present.
Public method UpdateBuildStatus Updates the status of the given build.
Public method UpdateBuildStep This is the webmethod that updates data in the BuildSteps table.

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