共用方式為


IBuildServer.CreateBuildRequest Method (Uri, Uri)

Creates a new build request for the specified build definition and controller.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function CreateBuildRequest ( _
    buildDefinitionUri As Uri, _
    buildControllerUri As Uri _
) As IBuildRequest
IBuildRequest CreateBuildRequest(
    Uri buildDefinitionUri,
    Uri buildControllerUri
)
IBuildRequest^ CreateBuildRequest(
    Uri^ buildDefinitionUri, 
    Uri^ buildControllerUri
)
abstract CreateBuildRequest : 
        buildDefinitionUri:Uri * 
        buildControllerUri:Uri -> IBuildRequest
function CreateBuildRequest(
    buildDefinitionUri : Uri, 
    buildControllerUri : Uri
) : IBuildRequest

Parameters

  • buildDefinitionUri
    Type: System.Uri

    The build definition.

  • buildControllerUri
    Type: System.Uri

    The build controller.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest
A new build request.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CreateBuildRequest Overload

Microsoft.TeamFoundation.Build.Client Namespace