Microsoft.Build.Utilities.HostObjectInitializationStatus Enumeration

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

Syntax

public enum HostObjectInitializationStatus

Remarks

Microsoft.Build.Utilities.HostObjectInitializationStatus is the return type of the ToolTask.InitializeHostObject method of the Microsoft.Build.Utilities.ToolTask class.

Members

Member NameDescription
NoActionReturnFailure

Indicates that some of the parameters being passed into the task are invalid, and that the task should fail immediately.

NoActionReturnSuccess

Indicates that the host object is up to date, and that no further action is necessary.

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, Microsoft.Build.Utilities.ToolTask should fallback to an alternate means of doing the build, such as invoking the command-line tool.

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.

Requirements

Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities (in Microsoft.Build.Utilities.dll)
Assembly Versions: 2.0.0.0
Since: 2.0