Share via


IQueuedBuildsView.Connect Method

Include Protected Members
Include Inherited Members

Starts polling.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Connect() Starts polling and uses the default interval of thirty seconds and no synchronization object. Events will occur on a thread pool thread. When events are handled by a visual Windows Forms component, the Connect should be used for the method. Also, that component should be passed in as the synchronizing object so that the event handlers are called on the same thread on which the component was created.
Public method Connect(Int32, ISynchronizeInvoke) Starts polling and uses the specified interval and ISynchronizeInvoke object. When the StatusChanging or StatusChanged 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.

Top

See Also

Reference

IQueuedBuildsView Interface

IQueuedBuildsView Members

Microsoft.TeamFoundation.Build.Client Namespace