Share via


BuildRequestsController.QueueNewBuild Method

Queue a new build

Namespace:  Microsoft.TeamFoundation.Build.Server.Rest
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<HttpPostAttribute> _
Public Function QueueNewBuild ( _
    postContract As BuildRequest _
) As BuildRequest
[HttpPostAttribute]
public BuildRequest QueueNewBuild(
    BuildRequest postContract
)
[HttpPostAttribute]
public:
BuildRequest^ QueueNewBuild(
    BuildRequest^ postContract
)
[<HttpPostAttribute>]
member QueueNewBuild : 
        postContract:BuildRequest -> BuildRequest
public function QueueNewBuild(
    postContract : BuildRequest
) : BuildRequest

Parameters

  • postContract
    Type: BuildRequest

Return Value

Type: BuildRequest

.NET Framework Security

See Also

Reference

BuildRequestsController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace