Udostępnij za pośrednictwem


BuildManager.BuildRequest Method

Definition

Overloads

BuildRequest(BuildRequestData)

Convenience method. Submits a build request and blocks until the results are available.

BuildRequest(GraphBuildRequestData)

Convenience method. Submits a graph build request and blocks until the results are available.

BuildRequest(BuildRequestData)

Source:
BuildManager.cs

Convenience method. Submits a build request and blocks until the results are available.

public:
 Microsoft::Build::Execution::BuildResult ^ BuildRequest(Microsoft::Build::Execution::BuildRequestData ^ requestData);
public Microsoft.Build.Execution.BuildResult BuildRequest (Microsoft.Build.Execution.BuildRequestData requestData);
member this.BuildRequest : Microsoft.Build.Execution.BuildRequestData -> Microsoft.Build.Execution.BuildResult
Public Function BuildRequest (requestData As BuildRequestData) As BuildResult

Parameters

requestData
BuildRequestData

Build request.

Returns

The build result.

Exceptions

Thrown if StartBuild has not been called or if EndBuild has been called.

Remarks

Convenience method.

Applies to

BuildRequest(GraphBuildRequestData)

Source:
BuildManager.cs

Convenience method. Submits a graph build request and blocks until the results are available.

public:
 Microsoft::Build::Graph::GraphBuildResult ^ BuildRequest(Microsoft::Build::Graph::GraphBuildRequestData ^ requestData);
public Microsoft.Build.Graph.GraphBuildResult BuildRequest (Microsoft.Build.Graph.GraphBuildRequestData requestData);
member this.BuildRequest : Microsoft.Build.Graph.GraphBuildRequestData -> Microsoft.Build.Graph.GraphBuildResult
Public Function BuildRequest (requestData As GraphBuildRequestData) As GraphBuildResult

Parameters

requestData
GraphBuildRequestData

Returns

Exceptions

Thrown if StartBuild has not been called or if EndBuild has been called.

Applies to