Freigeben über


IBuildDetail Interface

Interface for a build on the server that is running Team Foundation Build.

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

Syntax

'Declaration
Public Interface IBuildDetail
public interface IBuildDetail
public interface class IBuildDetail
type IBuildDetail =  interface end
public interface IBuildDetail

The IBuildDetail type exposes the following members.

Properties

  Name Description
Public property BuildAgent Obsolete. Gets the build agent used to perform this build. May be null.
Public property BuildAgentUri Obsolete. Gets the URI of the build agent used to run the build.
Public property BuildController Gets the build controller used to perform this build. May be null.
Public property BuildControllerUri Gets the URI of the build controller used to perform this build.
Public property BuildDefinition Gets the build definition that owns this build. May be null.
Public property BuildDefinitionUri Gets the URI of the build definition used to perform this build.
Public property BuildFinished Gets a flag indicating whether the build has finished.
Public property BuildNumber Gets or sets the number for this build.
Public property BuildServer Gets the server that owns this build.
Public property CommandLineArguments Obsolete. Gets the command-line arguments used for this build.
Public property CompilationStatus Gets or sets the status of the compilation phase of this build.
Public property ConfigurationFolderPath Obsolete. Gets the path of the version control folder that contained this build's project files at the time the build was started (TfsBuild.proj, etc.).
Public property ConfigurationFolderUri Obsolete. Gets the versioned URI of the configuration folder path.
Public property DropLocation Gets or sets the location for the output of the build.
Public property DropLocationRoot Gets the root drop location of the build.
Public property FinishTime Gets the time that this build finished.
Public property Information Gets the collection of information nodes for this build.
Public property IsDeleted Gets a flag describing whether the build has been deleted.
Public property KeepForever Gets or sets a flag describing whether the build participates in the retention policy of the build definition or to keep the build forever.
Public property LabelName Gets or sets the name of the label created for the build.
Public property LastChangedBy Gets the last user to change this build.
Public property LastChangedOn Gets the date and time of the last change to this build.
Public property LogLocation Gets or sets the location of the log file for this build.
Public property ProcessParameters Gets an XML formatted string representing all the process parameters for this build.
Public property Quality Gets or sets the quality of this build.
Public property Reason Gets the reason the build exists.
Public property RequestedBy Gets the user that requested this build.
Public property RequestedFor Gets the user for whom this build was requested.
Public property ShelvesetName Gets the shelveset that was built.
Public property SourceGetVersion Gets or sets the version specification for which the sources were retrieved for this build.
Public property StartTime Gets the time that this build actually started.
Public property Status Gets or sets the overall status of this build.
Public property TeamProject Gets the team project that owns this build.
Public property TestStatus Gets or sets the status of the test phase of this build.
Public property Uri Gets the URI of this build.

Top

Methods

  Name Description
Public method Connect() Starts polling by using the default interval of five seconds and no synchronization object. When events are handled by a visual Windows Forms component, the other overload should be used for this method and that component should be passed in as the synchronizingObject so that the event handlers are called on the same thread on which the component was created.
Public method Connect(Int32, ISynchronizeInvoke) Starts polling by using the specified interval and ISynchronizeInvoke object. When the StatusChanging, StatusChanged, or PollingCompleted events are handled by a visual Windows Forms component, that component should be passed in as the synchronizingObject so that the event handlers are called on the same thread on which the component was created.
Public method Delete() Deletes the build, and all associated data, from the server and drop location.
Public method Delete(DeleteOptions) Delete the build and only the specified information.
Public method Disconnect Stops polling the server.
Public method FinalizeStatus() Notifies the server that the build is complete.
Public method FinalizeStatus(BuildStatus) Notifies the server that the build is complete and sets the status accordingly.
Public method Refresh Retrieves the latest build data from the server with the specified query options and information types.
Public method RefreshAllDetails Retrieves the latest build data from the server with all details.
Public method RefreshMinimalDetails Retrieves the latest build data from the server with no details.
Public method Save Saves any changes made on the build to the server.
Public method Stop Stops the build.
Public method Wait Blocks additional builds until this build is finished.

Top

Events

  Name Description
Public event PollingCompleted Raised when polling completes.
Public event StatusChanged Raised when any change in the build is discovered on the server.
Public event StatusChanging Raised when any change in the build is discovered on the server.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace