BuildManager.BuildRequest Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.