Releases the agent associated with the specified request ID. Once the agent has been released it will be returned to a pool so that it may be used by another process or workflow.
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
IAsyncResult BeginReleaseAgent( int reservationId, AsyncCallback callback, Object state )
- Type: System.Int32
The ID of the agent reservation which should be released
- Type: System.AsyncCallback
- Type: System.Object
Return ValueType: System.IAsyncResult
- 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.