IBuildMachine.BeginRecycleProcess Method
Begins an asynchronous operation to recycle a process hosted by the build server.
Namespace: Microsoft.TeamFoundation.Build.Hosting
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
<OperationContractAttribute(AsyncPattern := True)> _
Function BeginRecycleProcess ( _
processId As Uri, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
[OperationContractAttribute(AsyncPattern = true)]
IAsyncResult BeginRecycleProcess(
Uri processId,
AsyncCallback callback,
Object state
)
[OperationContractAttribute(AsyncPattern = true)]
IAsyncResult^ BeginRecycleProcess(
Uri^ processId,
AsyncCallback^ callback,
Object^ state
)
[<OperationContractAttribute(AsyncPattern = true)>]
abstract BeginRecycleProcess :
processId:Uri *
callback:AsyncCallback *
state:Object -> IAsyncResult
function BeginRecycleProcess(
processId : Uri,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
processId
Type: System.UriThe process identifier
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.