共用方式為


IQueuedBuildsView Interface

The interface for a view of the queued builds in 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 IQueuedBuildsView
public interface IQueuedBuildsView
public interface class IQueuedBuildsView
type IQueuedBuildsView =  interface end
public interface IQueuedBuildsView

The IQueuedBuildsView type exposes the following members.

Properties

  Name Description
Public property CompletedWindow Gets or sets the time span to hold builds in the queue during polling.
Public property ControllerFilter Gets the build controller specification used to filter builds in the QueuedBuilds property.
Public property DefinitionFilter Gets the build definition specification used to filter builds in the QueuedBuilds property.
Public property QueryOptions Gets or sets the query options to use when querying the QueuedBuilds property.
Public property QueuedBuilds Gets the queued builds in the team project that match the specified AgentFilter, DefinitionFilter, and StatusFilter properties.
Public property RequestedForFilter Gets or sets the requested for filter.
Public property StatusFilter Gets or sets the status filter.
Public property TeamProjectFilter Gets the team project filter.

Top

Methods

  Name Description
Public method Connect() Starts polling, using the default interval of 30 seconds and no synchronization object.
Public method Connect(Int32, ISynchronizeInvoke) Starts polling, using the specified interval and ISynchronizeInvoke object.
Public method Disconnect Stops polling.
Public method Refresh Manually refreshes the view, and optionally removes completed builds from the view.

Top

Events

  Name Description
Public event StatusChanged Raised once for each polling interval.
Public event StatusChanging Raised once for each polling interval.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace