Partilhar via


BuildManager.BeginBuild Method

Definition

Overloads

BeginBuild(BuildParameters)

Prepares the BuildManager to receive build requests.

BeginBuild(BuildParameters, IEnumerable<BuildManager.DeferredBuildMessage>)

Prepares the BuildManager to receive build requests.

BeginBuild(BuildParameters)

Source:
BuildManager.cs

Prepares the BuildManager to receive build requests.

public:
 void BeginBuild(Microsoft::Build::Execution::BuildParameters ^ parameters);
public void BeginBuild (Microsoft.Build.Execution.BuildParameters parameters);
member this.BeginBuild : Microsoft.Build.Execution.BuildParameters -> unit
Public Sub BeginBuild (parameters As BuildParameters)

Parameters

parameters
BuildParameters

The build parameters. May be null.

Exceptions

Thrown if a build is already in progress.

Applies to

BeginBuild(BuildParameters, IEnumerable<BuildManager.DeferredBuildMessage>)

Source:
BuildManager.cs

Prepares the BuildManager to receive build requests.

public:
 void BeginBuild(Microsoft::Build::Execution::BuildParameters ^ parameters, System::Collections::Generic::IEnumerable<Microsoft::Build::Execution::BuildManager::DeferredBuildMessage> ^ deferredBuildMessages);
public void BeginBuild (Microsoft.Build.Execution.BuildParameters parameters, System.Collections.Generic.IEnumerable<Microsoft.Build.Execution.BuildManager.DeferredBuildMessage> deferredBuildMessages);
member this.BeginBuild : Microsoft.Build.Execution.BuildParameters * seq<Microsoft.Build.Execution.BuildManager.DeferredBuildMessage> -> unit
Public Sub BeginBuild (parameters As BuildParameters, deferredBuildMessages As IEnumerable(Of BuildManager.DeferredBuildMessage))

Parameters

parameters
BuildParameters

The build parameters. May be null.

deferredBuildMessages
IEnumerable<BuildManager.DeferredBuildMessage>

Build messages to be logged before the build begins.

Exceptions

Thrown if a build is already in progress.

Applies to