IAgentReservationExtension.BeginReleaseAgent Method

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.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Services
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

IAsyncResult BeginReleaseAgent(
	int reservationId,
	AsyncCallback callback,
	Object state
)

Parameters

reservationId
Type: System.Int32

The ID of the agent reservation which should be released

callback
Type: System.AsyncCallback
state
Type: System.Object

Return Value

Type: System.IAsyncResult

Show: