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


IBuildMachine.BeginGetState Method

Begins an asynchronous operation to retrieve the state of 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)> _
Function BeginGetState ( _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
[OperationContractAttribute(AsyncPattern = true)]
IAsyncResult BeginGetState(
    AsyncCallback callback,
    Object state
)
[OperationContractAttribute(AsyncPattern = true)]
IAsyncResult^ BeginGetState(
    AsyncCallback^ callback, 
    Object^ state
)
[<OperationContractAttribute(AsyncPattern = true)>]
abstract BeginGetState : 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
function BeginGetState(
    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