Delen via


IQueuedBuildsView.Connect Method (Int32, ISynchronizeInvoke)

Starts polling, using the specified interval and ISynchronizeInvoke object.

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

Syntax

'Declaration
Sub Connect ( _
    pollingInterval As Integer, _
    synchronizingObject As ISynchronizeInvoke _
)
void Connect(
    int pollingInterval,
    ISynchronizeInvoke synchronizingObject
)
void Connect(
    int pollingInterval, 
    ISynchronizeInvoke^ synchronizingObject
)
abstract Connect : 
        pollingInterval:int * 
        synchronizingObject:ISynchronizeInvoke -> unit
function Connect(
    pollingInterval : int, 
    synchronizingObject : ISynchronizeInvoke
)

Parameters

  • pollingInterval
    Type: System.Int32

    The polling interval, in milliseconds.

Remarks

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 that the component was created.

.NET Framework Security

See Also

Reference

IQueuedBuildsView Interface

Connect Overload

Microsoft.TeamFoundation.Build.Client Namespace