HostObjectInitializationStatus Enum

Definition

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

public enum class HostObjectInitializationStatus
public enum HostObjectInitializationStatus
type HostObjectInitializationStatus = 
Public Enum HostObjectInitializationStatus
Inheritance
HostObjectInitializationStatus

Fields

NoActionReturnFailure 3

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

NoActionReturnSuccess 2

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

UseAlternateToolToExecute 1

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.

UseHostObjectToExecute 0

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.

Remarks

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

Applies to