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.AsyncCallbackThe System.AsyncCallback delegate that receives notification that the operation is completed.
state
Type: System.ObjectAn 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.