Поделиться через


IBuildMachine.BeginConnect Method

Begins an asynchronous operation to connect to a remote build server.

Namespace:  Microsoft.TeamFoundation.Build.Hosting
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

Syntax

'Declaration
<OperationContractAttribute(AsyncPattern := True, IsInitiating := True)> _
Function BeginConnect ( _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
[OperationContractAttribute(AsyncPattern = true, IsInitiating = true)]
IAsyncResult BeginConnect(
    AsyncCallback callback,
    Object state
)
[OperationContractAttribute(AsyncPattern = true, IsInitiating = true)]
IAsyncResult^ BeginConnect(
    AsyncCallback^ callback, 
    Object^ state
)
[<OperationContractAttribute(AsyncPattern = true, IsInitiating = true)>]
abstract BeginConnect : 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
function BeginConnect(
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback

    The System.AsyncCallback delegate that receives notification that the operation is completed.

  • state
    Type: System.Object

    An object, specified by the caller, that contains state information associated with the asynchronous operation.

Return Value

Type: System.IAsyncResult
The asynchronous operation

.NET Framework Security

See Also

Reference

IBuildMachine Interface

Microsoft.TeamFoundation.Build.Hosting Namespace