Microsoft.Build.Utilities.HostObjectInitializationStatus Enumeration

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


public enum HostObjectInitializationStatus


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


Member NameDescription

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


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


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.


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.


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