Delen via


HostObjectInitializationStatus Enumeration

Defines the next action for ToolTask after an attempt to initialize the host object.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Enumeration HostObjectInitializationStatus
public enum HostObjectInitializationStatus
public enum class HostObjectInitializationStatus
type HostObjectInitializationStatus
public enum HostObjectInitializationStatus

Members

Member name Description
NoActionReturnFailure Indicates that some of the parameters being passed into the task are invalid, and that the task should fail immediately.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.
NoActionReturnSuccess Indicates that the host object is up to date, and that no further action is necessary.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.
UseAlternateToolToExecute Indicates that either a host object is not available, or that the host object is not capable of supporting all of the features required for this build. Therefore, ToolTask should fallback to an alternate means of doing the build, such as invoking the command-line tool.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.
UseHostObjectToExecute Indicates that an appropriate host object for this task exists, which can support all of the parameters passed in and should be invoked to do the real work of the task.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.

Remarks

HostObjectInitializationStatus is the return type of the InitializeHostObject method of the ToolTask class.

See Also

Reference

Microsoft.Build.Utilities Namespace