BuildSubmission.ExecuteAsync Method (BuildSubmissionCompleteCallback, Object)

 

Starts a build request asynchronously and within the given context. Immediately returns control to the caller.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public void ExecuteAsync(
	BuildSubmissionCompleteCallback callback,
	object context
)

Parameters

callback
Type: Microsoft.Build.Execution.BuildSubmissionCompleteCallback

The callback method to call when the build submission is complete.

context
Type: System.Object

The context in which the build submission occurs.

Exception Condition
InvalidOperationException

The request has already been started or is already complete.

Return to top
Show: