Export (0) Print
Expand All

IBuildDetail Methods

The IBuildDetail type exposes the following members.

  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 Connect(Int32, Int32, ISynchronizeInvoke) Starts polling, using the specified interval, time-out 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 finished.
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 that has the specified query options and information types.
Public method RefreshAllDetails Retrieves the latest build data from the server together with all details.
Public method RefreshMinimalDetails Retrieves the latest build data from the server together with no details.
Public method RequestIntermediateLogs Requests the intermediate diagnostics logs of an in-progress build.
Public method Save Saves any changes that were made on the build to the server.
Public method Stop Stops the build.
Public method Wait() Blocks additional builds until this build is finished.
Public method Wait(TimeSpan, TimeSpan) Blocks the calling thread until the build finishes or the time-out expires.
Public method Wait(TimeSpan, TimeSpan, ISynchronizeInvoke) Blocks the calling thread until the build finishes or the time-out expires.
Top
Show:
© 2014 Microsoft