TeamFoundationBuildResourceService.AddBuildControllers Method
Adds build controllers to the server. Notifications are asynchronously sent to the physical service host regarding the addition of any build controllers.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function AddBuildControllers ( _
requestContext As TeamFoundationRequestContext, _
controllers As IList(Of BuildController) _
) As List(Of BuildController)
public List<BuildController> AddBuildControllers(
TeamFoundationRequestContext requestContext,
IList<BuildController> controllers
)
public:
List<BuildController^>^ AddBuildControllers(
TeamFoundationRequestContext^ requestContext,
IList<BuildController^>^ controllers
)
member AddBuildControllers :
requestContext:TeamFoundationRequestContext *
controllers:IList<BuildController> -> List<BuildController>
public function AddBuildControllers(
requestContext : TeamFoundationRequestContext,
controllers : IList<BuildController>
) : List<BuildController>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
controllers
Type: System.Collections.Generic.IList<BuildController>The build controllers to add.
Return Value
Type: System.Collections.Generic.List<BuildController>
A list of build controllers that were added.
.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.